heesung-sn commented on code in PR #23433:
URL: https://github.com/apache/pulsar/pull/23433#discussion_r1796331199


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/channel/ServiceUnitStateChannelImpl.java:
##########
@@ -1462,6 +1478,10 @@ private CompletableFuture<Void> 
healthCheckBrokerAsync(String brokerId) {
     }
 
     private void doHealthCheckBrokerAsyncWithRetries(String brokerId, int 
retry, CompletableFuture<Void> future) {
+        if (channelDisabled()) {

Review Comment:
   This means that this leader broker is shutting down and trying to handle the 
broker deletion notification. It is counterintuitive that this shutting down 
leader broker thinks the target broker is healthy here.



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