poorbarcode commented on code in PR #24722: URL: https://github.com/apache/pulsar/pull/24722#discussion_r2339449877
########## managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java: ########## @@ -1878,10 +1878,38 @@ protected synchronized void updateLedgersIdsComplete(@Nullable LedgerHandle orig } } + void ledgerAddFailedDueToConcurrentlyModified(final LedgerHandle currentLedger) { Review Comment: I have changed the behaviour: the topic should be fenced if the ledger was modified by the other. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org