kaisun2000 opened a new issue #1034:
URL: https://github.com/apache/helix/issues/1034


   Recently we identified two class of leaking Zk path in Zookeeper server
   
   1. Leaking current state CallbackHandler and subsequently if the leaked 
CallbackHandler current state instance session timeout, the Zk path of old 
current state parent path  would be leaked on Zookeeper server. This would also 
result in "dangling" CallbackHandler which would leak memory and issue 
additional zookeeper read not necessary.
   
   2. Leaking current state znode path. This is due to deletion of the current 
state znode is async to installing watcher in various thread in ZkClient, 
callbackhandler etc. 
   
   The current short term fix would address these two issues.
   
   There are couple of other optimization that can be done in term of zookeeper 
access. We will put them as long term, and address them separately.


----------------------------------------------------------------
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