### Motivation

After an ungraceful restart of Pulsar standalone, it might take few iterations 
of restart to get the service back up. 

This is due to the previous ZK sessions not being "expired". 

The main problem is that by having broker & zk combined the 2 behaviors clash:
  * Broker try to register z-node and finds it there from other session (and 
restart) — which is correct for a regular broker
  * ZK server doesn’t have the time to actually expire the session because 
broker exits immediately


### Modifications

In standalone mode, clear the registration z-nodes from the previous processes.

[ Full content available at: 
https://github.com/apache/incubator-pulsar/pull/2487 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to