kaisun2000 opened a new issue #930: CallbackHandler would leak watcher in 
Zookeeper server if session expires happens
URL: https://github.com/apache/helix/issues/930
 
 
   TestZkCallbackHandlerLeak#testRemoveUserCbHandlerOnPathRemoval illustrate 
this case. 
   
   Basically after newSession, fireAllEvents would trigger all watches in 
ZkClient (but not in Zookeeper as for newSession, it has no watch for this 
session). Here, for path of CallbackHandler that get removed, the path and all 
the resources underlying would be installed as "exists" watch in native 
zookeeper client/server. 
   
   This kind of leak would be gone if session expire another time.

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


With regards,
Apache Git Services

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

Reply via email to