heesung-sn commented on code in PR #19538:
URL: https://github.com/apache/pulsar/pull/19538#discussion_r1118137800
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/web/PulsarWebResource.java:
##########
@@ -992,6 +1004,10 @@ protected boolean isLeaderBroker() {
}
protected static boolean isLeaderBroker(PulsarService pulsar) {
+ // For extensible load manager, it doesn't have leader election
service on pulsar broker.
+ if (pulsar.getLeaderElectionService() == null) {
Review Comment:
Or plz check if it is the LM extension before and let the authoritative flag
false instead of calling isLeader().
--
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]