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

Reply via email to