zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SREENIVASULUDANDU (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2363) DatadirCleanupManager never created by ZookeeperServerMain
Date Wed, 03 Aug 2016 05:52:20 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405366#comment-15405366


Hi David Foregger,  any update on this issue?

> DatadirCleanupManager never created by ZookeeperServerMain
> ----------------------------------------------------------
>                 Key: ZOOKEEPER-2363
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2363
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.4.0
>            Reporter: David Foregger
> h4. Background
> ZOOKEEPER-1107 introduced a DatadirCleanupManager to automatically purge snapshots. This
can be configured using autopurge.snapRetainCount and autopurge.purgeInterval. This is documented
and [there|http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html#sc_advancedConfiguration].
> h4. Symptoms
> Autopurging does not work when running a standalone ZooKeeperServer. The DatadirCleanupManager
is started by the QuorumPeerMain, but there is no similar setup ZooKeeperServerMain. ServerConfig
does not hold autopurge properties.
> h4. Expected Behavior
> Starting a standalone zookeeper server should enable autopurging with the same behavior
as a quorum server. 

This message was sent by Atlassian JIRA

View raw message