You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/20 15:11:43 UTC

[GitHub] [pulsar] codelipenghui commented on a diff in pull request #16668: [fix][broker] Fix the managed ledger factory shutdown stuck due to scheduled executor shutdown first

codelipenghui commented on code in PR #16668:
URL: https://github.com/apache/pulsar/pull/16668#discussion_r925730728


##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerFactoryImpl.java:
##########
@@ -596,7 +593,10 @@ public void closeFailed(ManagedLedgerException exception, Object ctx) {
             }
         }));
         entryCacheManager.clear();
-        return FutureUtil.waitForAll(futures);
+        return FutureUtil.waitForAll(futures).thenAccept(__ -> {

Review Comment:
   The exception will handle outside



-- 
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-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org