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

SREENIVASULUDANDU commented on ZOOKEEPER-2363:
----------------------------------------------

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 
> [here|http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html#Ongoing+Data+Directory+Cleanup]
>  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
(v6.3.4#6332)

Reply via email to