Skip to content

Commit

Permalink
Update SnapshotSegmentAbortedTxnProcessorImpl.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nikam14 authored Mar 22, 2024
1 parent 64a4a57 commit 282d9a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public void openReadOnlyManagedLedgerFailed(ManagedLedgerException exception, Ob
So that we can trim the expired snapshot segment in aborts
according to the latest transaction IDs in the segmentIndex.
*/
synchronized(unsealedTxnIds){
synchronized (unsealedTxnIds) {
unsealedTxnIds.forEach(txnID -> aborts.put(txnID, txnID));
}
return CompletableFuture.completedFuture(finalStartReadCursorPosition);
Expand Down

0 comments on commit 282d9a6

Please sign in to comment.