merlimat commented on a change in pull request #5599: [pulsar-broker] close 
managed-ledgers before giving up bundle ownership to avoid bad zk-version
URL: https://github.com/apache/pulsar/pull/5599#discussion_r344911035
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Topic.java
 ##########
 @@ -110,7 +110,7 @@ default long getOriginalSequenceId() {
 
     CompletableFuture<Void> checkReplication();
 
-    CompletableFuture<Void> close();
+    CompletableFuture<Void> close(boolean force);
 
 Review comment:
   Apart from the bool vs enum discussion, why do we need 2 different 
behaviors? Can't we just consider "force" the only approach?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to