You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (Commented) (JIRA)" <ji...@apache.org> on 2011/11/11 22:08:51 UTC

[jira] [Commented] (ZOOKEEPER-1297) Add stat information to create() call

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

Patrick Hunt commented on ZOOKEEPER-1297:
-----------------------------------------

Does seem like an oversight to me. We might be able to append this data to the current response and still have it be backward compatible on the wire. We could then overload the Java methods and introduce new methods on the C client side.

Would be a great project for a new contributor.
                
> Add stat information to create() call
> -------------------------------------
>
>                 Key: ZOOKEEPER-1297
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
>             Project: ZooKeeper
>          Issue Type: New Feature
>          Components: java client
>    Affects Versions: 3.3.3
>            Reporter: Gunnar Wagenknecht
>
> In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.

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