You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2012/11/27 22:26:58 UTC

[jira] [Commented] (ZOOKEEPER-1569) suppor upsert: setData if the node exists, otherwise, create a new node

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

Jimmy Xiang commented on ZOOKEEPER-1569:
----------------------------------------

This is the first draft patch. I will add more tests to make sure multi supports it as well.
                
> suppor upsert: setData if the node exists, otherwise, create a new node
> -----------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1569
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1569
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Jimmy Xiang
>         Attachments: zk-1569.patch
>
>
> Currently, ZooKeeper supports setData and create.  If it can support upsert like in SQL, it will be great.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira