lhotari commented on a change in pull request #13134:
URL: https://github.com/apache/pulsar/pull/13134#discussion_r762609262



##########
File path: 
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
##########
@@ -1192,6 +1192,7 @@ private long consumedLedgerSize(long ledgerSize, long 
ledgerEntries, long consum
     @Override
     public synchronized void asyncTerminate(TerminateCallback callback, Object 
ctx) {
         if (state == State.Fenced) {
+            cancelScheduledTasks();

Review comment:
       It seems that similar addition would be needed to asyncClose when the 
ledger is fenced




-- 
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


Reply via email to