You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Justin Lin <ju...@upthere.com> on 2016/01/04 19:46:21 UTC
auto purge snapshot and corresponding log files in version 3.3.4
Hi there,
I am using zookeeper 3.3.4 and found that the snapshot and log files are taking as much as 70% of ssd space so i would like to remove those obsolete snapshots and logs. (There are currently 14K+ snapshots.) I found this setting (autopurge.snapRetainCount) in documentation here: https://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html <https://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html> but it is new to 3.4.0.
I wonder if there is anyway to enable auto purge in version 3.3.4? If so, which settings should i look into?
Thanks!
Justin Lin
Re: auto purge snapshot and corresponding log files in version 3.3.4
Posted by Flavio Junqueira <fp...@yahoo.com.INVALID>.
Hi Justin,
I strongly recommend that you move to the 3.4 branch, not only to have access to the auto purge feature, but also because of all the bugs we have fixed and other improvements that we have made.
-Flavio
> On 04 Jan 2016, at 18:46, Justin Lin <ju...@upthere.com> wrote:
>
> Hi there,
>
> I am using zookeeper 3.3.4 and found that the snapshot and log files are taking as much as 70% of ssd space so i would like to remove those obsolete snapshots and logs. (There are currently 14K+ snapshots.) I found this setting (autopurge.snapRetainCount) in documentation here: https://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html <https://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html> but it is new to 3.4.0.
>
> I wonder if there is anyway to enable auto purge in version 3.3.4? If so, which settings should i look into?
>
> Thanks!
>
> Justin Lin