Skip to content

Commit

Permalink
fix dead lock in handleBookieFailure
Browse files Browse the repository at this point in the history
  • Loading branch information
fanjianye committed Jul 23, 2024
1 parent 4ca020a commit bbccd3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ private void completeAdd(final int rc,
final BookieId addr,
final WriteCallback cb,
final Object ctx) {
cb.writeComplete(rc, ledgerId, entryId, addr, ctx);
executor.executeOrdered(ledgerId, () -> cb.writeComplete(rc, ledgerId, entryId, addr, ctx));
}

@Override
Expand Down

0 comments on commit bbccd3f

Please sign in to comment.