You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Andor Molnar <an...@apache.org> on 2022/03/07 09:10:39 UTC

Re: how use command deleteall option -b batch size ??

Hi,

"-b" option is the batch size.
Here's the doc:
https://zookeeper.apache.org/doc/r3.8.0/zookeeperCLI.html

Looks like this option is not documented, but it's outlined in the
help:

	deleteall path [-b batch size]

Regards,
Andor



On Wed, 2022-02-16 at 17:19 +0800, 一直以来 wrote:
> create /acreate /a/b
> create /a/b/c
> create /a/b/c/d
> 
> 
> i run:
> deleteall /a -b 1
> 
> 
> result:
> /a and all subNode delete!!
> 
> 
> so , -b option how use ?thank you !



Re: how use command deleteall option -b batch size??

Posted by Andor Molnar <an...@apache.org>.
I think it's already available even in 3.5.x versions.



On Mon, 2022-03-07 at 17:16 +0800, 一直以来 wrote:
> The command &nbsp;only &nbsp;support &nbsp;3.8 version??3.7 not
> support???
> 
> 
> 
> 发自我的iPhone
> 
> 
> ------------------ Original ------------------
> From: Andor Molnar <andor@apache.org&gt;
> Date: Mon,Mar 7,2022 5:10 PM
> To: user <user@zookeeper.apache.org&gt;
> Subject: Re: how use command deleteall option -b batch size??
> 
> 
> 
> Hi,
> 
> "-b" option is the batch size.
> Here's the doc:
> https://zookeeper.apache.org/doc/r3.8.0/zookeeperCLI.html
> 
> Looks like this option is not documented, but it's outlined in the
> help:
> 
> deleteall path [-b batch size]
> 
> Regards,
> Andor
> 
> 
> 
> On Wed, 2022-02-16 at 17:19 +0800, 一直以来 wrote:
> &gt; create /acreate /a/b
> &gt; create /a/b/c
> &gt; create /a/b/c/d
> &gt; 
> &gt; 
> &gt; i run:
> &gt; deleteall /a -b 1
> &gt; 
> &gt; 
> &gt; result:
> &gt; /a and all subNode delete!!
> &gt; 
> &gt; 
> &gt; so , -b option how use ?thank you !



Re: how use command deleteall option -b batch size??

Posted by 一直以来 <27...@qq.com.INVALID>.
The command &nbsp;only &nbsp;support &nbsp;3.8 version??3.7 not support???



发自我的iPhone


------------------ Original ------------------
From: Andor Molnar <andor@apache.org&gt;
Date: Mon,Mar 7,2022 5:10 PM
To: user <user@zookeeper.apache.org&gt;
Subject: Re: how use command deleteall option -b batch size??



Hi,

"-b" option is the batch size.
Here's the doc:
https://zookeeper.apache.org/doc/r3.8.0/zookeeperCLI.html

Looks like this option is not documented, but it's outlined in the
help:

deleteall path [-b batch size]

Regards,
Andor



On Wed, 2022-02-16 at 17:19 +0800, 一直以来 wrote:
&gt; create /acreate /a/b
&gt; create /a/b/c
&gt; create /a/b/c/d
&gt; 
&gt; 
&gt; i run:
&gt; deleteall /a -b 1
&gt; 
&gt; 
&gt; result:
&gt; /a and all subNode delete!!
&gt; 
&gt; 
&gt; so , -b option how use ?thank you !