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

Mahadev konar updated ZOOKEEPER-1262:
-------------------------------------

    Fix Version/s:     (was: 3.4.1)

I just committed this to trunk. The patch doesnt apply for 3.4 branch so am 
skipping this for 3.4 branch
                
> Documentation for Lock recipe has major flaw
> --------------------------------------------
>
>                 Key: ZOOKEEPER-1262
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1262
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.3.3
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>             Fix For: 3.5.0
>
>         Attachments: patch.txt, recipes.diff, recipes.html
>
>
> The recipe for Locks documented here: 
> http://zookeeper.apache.org/doc/trunk/recipes.html#sc_recipes_Locks doesn't 
> deal with the problem of create() succeeding but the server crashing before 
> the result is returned. As written, if the server crashes before the result 
> is returned the client can never know what sequential node was created for 
> it. The way to deal with this is to embed the session ID in the node name. 
> The Lock implementation in the ZK distro does this. But, the documentation 
> will lead implementors to write bad code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to