[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Baskinger updated ZOOKEEPER-767:
------------------------------------

    Attachment: ZOOKEEPER-767.patch

1) Moving lock-ownership checks before we perform a zookeeper action.
2) Wrapping any code that may throw an exception after creating a lock file 
with a catch block that will delete the lock file and propagate the exception 
up the call stack.

> Submitting Demo/Recipe Shared / Exclusive Lock Code
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-767
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-767
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: recipes
>    Affects Versions: 3.3.0
>            Reporter: Sam Baskinger
>            Assignee: Sam Baskinger
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-767.patch, ZOOKEEPER-767.patch, 
> ZOOKEEPER-767.patch
>
>
> Networked Insights would like to share-back some code for shared/exclusive 
> locking that we are using in our labs.

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