You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2008/07/24 11:47:32 UTC
[jira] Created: (ZOOKEEPER-90) invoke
WhenOwnerListener.whenNotOwner() when the ZK session expires and the znode
is the leader
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.
[jira] Commented: (ZOOKEEPER-90) invoke
WhenOwnerListener.whenNotOwner() when the ZK session expires and the znode
is the leader
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616456#action_12616456 ]
james strachan commented on ZOOKEEPER-90:
-----------------------------------------
I guess the earlier we can notify a leader/owner that they are no longer gonna be the leader/owner the better. e.g. its better to notify them up front than wait until the effect of a socket closing etc?
> 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.
[jira] Commented: (ZOOKEEPER-90) invoke
WhenOwnerListener.whenNotOwner() when the ZK session expires and the znode
is the leader
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (ZOOKEEPER-90) invoke
WhenOwnerListener.whenNotOwner() when the ZK session expires and the znode
is the leader
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
james strachan resolved ZOOKEEPER-90.
-------------------------------------
Resolution: Fixed
this is now fixed in [this patch|http://svn.apache.org/viewvc?rev=679341&view=rev] to ZOOKEEPER-78
> 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.
[jira] Assigned: (ZOOKEEPER-90) invoke
WhenOwnerListener.whenNotOwner() when the ZK session expires and the znode
is the leader
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-90:
-------------------------------------
Assignee: james strachan
> 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
> Assignee: james strachan
> Fix For: 3.0.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-90) invoke
WhenOwnerListener.whenNotOwner() when the ZK session expires and the znode
is the leader
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-90:
----------------------------------
Fix Version/s: 3.0.0
> 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
> Fix For: 3.0.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.