Demogorgon314 commented on code in PR #19730:
URL: https://github.com/apache/pulsar/pull/19730#discussion_r1130527811
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java:
##########
@@ -398,6 +425,50 @@ private boolean isInternalTopic(String topic) {
|| topic.startsWith(TOP_BUNDLES_LOAD_DATA_STORE_TOPIC);
}
+ private void playLeader() {
+ log.info("This broker:{} is the leader now.",
pulsar.getLookupServiceAddress());
+ serviceUnitStateChannel.scheduleOwnershipMonitor();
+ this.pulsar.getLoadManagerExecutor().execute(() -> {
+ try {
+ loadStoreInitWaiter.await();
+ } catch (InterruptedException e) {
Review Comment:
After being interrupted, do we still need to start the table view?
--
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]