pkuwm opened a new issue #987:
URL: https://github.com/apache/helix/issues/987


   Current logic in shared Zkclient is if close() is called, the shared zk 
connection is also closed. This brings a disconnection problem for the other 
shared Zkclients that are still also using the shared zk connection. And these 
unclosed shared zkclients are not able to connect to zk.
   
   Are we expecting the behavior for shared zkclient? Can we improve it to 
close the connection only if all the shared zkclients using this zk connection 
are closed?
   
   If we would like to improve it like this, we can add a counter for the one 
zk connection. Only if the counter is reduced to 0, we close this zk connection.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to