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 13:09:31 UTC

[jira] Created: (ZOOKEEPER-91) provide an option for the WriteLock to also watch the locks own znode, so that if someone else deletes it then it is equivalent to calling WriteLock.unlock()

provide an option for the WriteLock to also watch the locks own znode, so that if someone else deletes it then it is equivalent to calling WriteLock.unlock()
-------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: ZOOKEEPER-91
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-91
             Project: Zookeeper
          Issue Type: Sub-task
          Components: java client
            Reporter: james strachan


Most clients probably wont need this, but it could be a handy system management feature to allow the WriteLock to watch its own znode so that if someone else deletes it, it then relinquishes the lock and tries to get it back again

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


[jira] Commented: (ZOOKEEPER-91) provide an option for the WriteLock to also watch the locks own znode, so that if someone else deletes it then it is equivalent to calling WriteLock.unlock()

Posted by "Benjamin Reed (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619882#action_12619882 ] 

Benjamin Reed commented on ZOOKEEPER-91:
----------------------------------------

+1

> provide an option for the WriteLock to also watch the locks own znode, so that if someone else deletes it then it is equivalent to calling WriteLock.unlock()
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-91
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-91
>             Project: Zookeeper
>          Issue Type: Sub-task
>          Components: java client
>            Reporter: james strachan
>
> Most clients probably wont need this, but it could be a handy system management feature to allow the WriteLock to watch its own znode so that if someone else deletes it, it then relinquishes the lock and tries to get it back again

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