ivankelly commented on a change in pull request #2935: Ensure broker is fully 
boostrapped before load manager register itself
URL: https://github.com/apache/pulsar/pull/2935#discussion_r231030887
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
 ##########
 @@ -446,11 +451,13 @@ public synchronized void brokerIsAFollowerNow() {
 
             leaderElectionService.start();
 
+            schemaRegistryService = SchemaRegistryService.create(this);
+
             webService.start();
 
             this.metricsGenerator = new MetricsGenerator(this);
 
-            schemaRegistryService = SchemaRegistryService.create(this);
+            this.startLoadManagementService();
 
 Review comment:
   Add a comment here that this is the point where the broker becomes visible 
to clients/other brokers.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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