lhotari commented on code in PR #17524:
URL: https://github.com/apache/pulsar/pull/17524#discussion_r1448554881


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java:
##########
@@ -1600,7 +1671,14 @@ public void closeFailed(ManagedLedgerException 
exception, Object ctx) {
             closeFuture.completeExceptionally(exception);
             return null;
         });
-
+        if (!disconnectClients) {
+            FutureUtil.completeAfter(closeFutures.notDisconnectClients, 
closeFuture);
+        } else {
+            FutureUtil.completeAfter(closeFutures.notDisconnectClients, 
closeFuture);
+            FutureUtil.completeAfter(closeFutures.notWaitDisconnectClients, 
closeFuture);

Review Comment:
   Yes I noticed that, but is the actual state of the fields ever different?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to