[
https://issues.apache.org/jira/browse/ZOOKEEPER-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053986#comment-13053986
]
Patrick Hunt commented on ZOOKEEPER-1107:
-----------------------------------------
Can you give some rational for this change? Is PTL not sufficient?
Also see this JIRA, which would make such changes obsolete: ZOOKEEPER-323
here are some reasons I can remember we do it this way:
1) keep things simple, eg cron job with a basic script that could do whatever
it likes re cleanup - thereby conforming to whatever requirements the operator
might have (which will typ be very different from the concerns of the
developers)
2) don't cleanup unless the operator explicitly requests - ensures we don't
lose data, say the operator is backing up every month, but the default is for
zk to cleanup every hour (etc...)
I don't see a problem with adding this as long as it's off by default, obv
configurable through the zk config file. What sorts of functionality would be
provided by this feature?
> automating log and snapshot cleaning
> ------------------------------------
>
> Key: ZOOKEEPER-1107
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1107
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.3.3
> Reporter: Jun Rao
>
> I like to have ZK itself manage the amount of snapshots and logs kept,
> instead of relying on the PurgeTxnLog utility.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira