You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Gregory Chanan (JIRA)" <ji...@apache.org> on 2013/03/26 21:13:15 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=13614492#comment-13614492 ] 

Gregory Chanan commented on ZOOKEEPER-1665:
-------------------------------------------

I'm planning to have a go at this.  Will post some thoughts later.
                
> 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 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