merlimat closed pull request #1589: Start function worker service after broker 
is fully started

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
index 0370346c6..3d14b8b08 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/
@@ -410,9 +410,6 @@ public synchronized void brokerIsAFollowerNow() {
-            // start function worker service if necessary
-            this.startWorkerService();
   "Starting Pulsar Broker service; version: '{}'", ( 
brokerVersion != null ? brokerVersion : "unknown" )  );
@@ -424,6 +421,9 @@ public synchronized void brokerIsAFollowerNow() {
             state = State.Started;
+            // start function worker service if necessary
+            this.startWorkerService();
   "messaging service is ready, bootstrap service on 
port={}, broker url={}, cluster={}, configs={}",
                     config.getWebServicePort(), brokerServiceUrl, 


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:

With regards,
Apache Git Services

Reply via email to