merlimat opened a new pull request #1583: Let Proxy handle ZK session expires 
without restarting
URL: https://github.com/apache/incubator-pulsar/pull/1583
 
 
   ### Motivation
   
   Currently pulsar proxy process might get stuck when receiving a ZK session 
expired event.
   
   ### Modifications
    * Imported reconnectable `ZookeeperClient` wrapper from BK and added option 
to configure ZK read-only session. Once this fix will go into 4.8, we'll remove 
the code here.
    * Use reconnection logic from `ZookeeperClient` to handle expired sessions. 
Since the proxy doesn't have any locks on zookeeper, there's no reason to 
restart the process. Proxy should always stay up and keep trying reconnecting 
to ZK.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to