coderzc commented on code in PR #25031:
URL: https://github.com/apache/pulsar/pull/25031#discussion_r2625453222


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/ModularLoadManagerImpl.java:
##########
@@ -368,6 +369,11 @@ public CompletableFuture<Set<String>> 
getAvailableBrokersAsync() {
         return future;
     }
 
+    public boolean checkBundleDataExistInNamespaceBundles(NamespaceBundles 
namespaceBundles, String bundleRange) {

Review Comment:
   The behavior is almost the same, but validateBundle directly throws an 
exception instead of returning a result. I modified it to call validateBundle 
in checkBundleDataExistInNamespaceBundles.



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