You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/11/18 03:45:21 UTC
[jira] [Commented] (ZOOKEEPER-1665) Support recursive deletion in
multi
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825047#comment-13825047 ]
Ted Yu commented on ZOOKEEPER-1665:
-----------------------------------
bq. and return without rollback the previously committed operations.
If this limitation cannot be lifted with reasonable effort, I can resolve this JIRA.
> Support recursive deletion in multi
> -----------------------------------
>
> Key: ZOOKEEPER-1665
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1665
> Project: ZooKeeper
> Issue Type: New Feature
> Reporter: Ted Yu
>
> Use case in HBase is that we need to recursively delete multiple subtrees:
> {code}
> ZKUtil.deleteChildrenRecursively(watcher, acquiredZnode);
> ZKUtil.deleteChildrenRecursively(watcher, reachedZnode);
> ZKUtil.deleteChildrenRecursively(watcher, abortZnode);
> {code}
> To achieve high consistency, it is desirable to use multi for the above operations.
> This JIRA adds support for recursive deletion in multi.
--
This message was sent by Atlassian JIRA
(v6.1#6144)