ivankelly opened a new pull request #1559: Allow proxy to come up before any 
brokers have
URL: https://github.com/apache/incubator-pulsar/pull/1559
   If no brokers have come up, then /loadbalance/brokers will not have
   been created. Previously, if a proxy came up at this point, it would
   get a NoNodeException when it tried to watch the children of this
   path, and the proxy itself would hang.
   This change modifies the ZooKeeper cache, so that if you try to
   getChildren on a node that doesn't exist, a watcher on that path's
   existance will be created before the NoNodeException is thrown.
   Callers can then call getChildren with a watcher, and expect the
   watcher to trigger when the the node is created and has another node
   created below it.

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