Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,11 @@ private boolean rereplicate(long ledgerIdToReplicate) throws InterruptedExceptio
return false;
} catch (BKNotEnoughBookiesException e) {
logBKExceptionAndReleaseLedger(e, ledgerIdToReplicate);
deferLedgerLockRelease = true;
throw e;
} catch (BKException e) {
logBKExceptionAndReleaseLedger(e, ledgerIdToReplicate);
deferLedgerLockRelease = true;
return false;
} finally {
// we make sure we always release the underreplicated lock, unless we decided to defer it. If the lock has
Expand Down
Loading