[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616455#action_12616455
 ] 

james strachan commented on ZOOKEEPER-90:
-----------------------------------------

FWIW I don't think the ZooKeeperFacade needs to have a WhenOwnerListener to be 
honest; as the underlying ZooKeeper should invoke the Watcher directly - when 
the connection is closed via the session expired reconnect or via close(). I 
guess it doesn't harm to have a few too many events firing in there just in 
case :)

> invoke WhenOwnerListener.whenNotOwner() when the ZK session expires and the 
> znode is the leader
> -----------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-90
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-90
>             Project: Zookeeper
>          Issue Type: Sub-task
>            Reporter: james strachan
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to