You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2010/03/26 20:34:27 UTC
[jira] Updated: (ZOOKEEPER-729) zkCli.sh -rmr /node
[ https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kay Kay updated ZOOKEEPER-729:
------------------------------
Attachment: ZOOKEEPER-729.patch
Retrieve the entire tree on the client side and then start deleting from the leaves to the root.
assumptions:
the service performing the updates to the root znode is brought down completely and the recursive delete completes then .
No atomicity guaranteed.
An efficient version would involve modifying the .jute and sending the path to the server and deleting on the same. But then, for now - this works.
> zkCli.sh -rmr /node
> -------------------
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
> Issue Type: New Feature
> Reporter: Kay Kay
> Attachments: ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line.
> New operation "rmr" added to zkclient.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.