zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakesh Radhakrishnan <rake...@apache.org>
Subject Re: Disabling snapshots in ZooKeeper
Date Fri, 10 Mar 2017 05:28:22 GMT
Hi Aishwarya,

>>>>>Is there a way to disable snapshots
Its interesting, just curious to know the thought process behind disabling
snapshot feature. Thanks!


Rakesh



On Fri, Mar 10, 2017 at 10:52 AM, Michael Han <hanm@cloudera.com> wrote:

> >> Is there a way to disable snapshots when the Zookeeper process restarts?
> Snapshot is a mandatory feature so there is no configuration option to
> disable it afaik.
>
> >>  is it safe to just comment zk.takeSnapshot()
> This should work in theory, if there is no snapshot ZK will rely on
> transaction log file for recovery. But I never tried it though.
>
> On Thu, Mar 9, 2017 at 5:05 PM, Aishwarya Ganesan <ash8aster@gmail.com>
> wrote:
>
> > Hi all,
> >
> > Is there a way to disable snapshots when the Zookeeper process restarts?
> > Setting snapCount to a large value doesn't help as Zookeeper takes
> > a snapshot on startup.
> >
> > In order to achieve this, is it safe to just comment zk.takeSnapshot() in
> > the code?
> >
> > Thanks,
> > Aishwarya
> >
>
>
>
> --
> Cheers
> Michael.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message