[
https://issues.apache.org/jira/browse/ZOOKEEPER-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061677#comment-13061677
]
[email protected] commented on ZOOKEEPER-1107:
----------------------------------------------------------
bq. On 2011-07-07 23:34:13, Camille Fournier wrote:
bq. > Are people just supposed to create their own new ZooKeeperPurger and
call start on it? I don't see any hooks for starting this anywhere, or even a
main method to use to start it. Would be nice to give that to people so they
have a utility they can run easily.
Heh, you beat me to it. ;-) I think it should be started by the server, but the
config defaults should have it turned off (time=0) by default. (more in my
comments)
- Patrick
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1043/#review1000
-----------------------------------------------------------
On 2011-07-07 23:10:13, Patrick Hunt wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/1043/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2011-07-07 23:10:13)
bq.
bq.
bq. Review request for zookeeper, Patrick Hunt, Benjamin Reed, and Mahadev
Konar.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. I like to have ZK itself manage the amount of snapshots and logs kept,
instead of relying on the PurgeTxnLog utility.
bq.
bq.
bq. This addresses bug ZOOKEEPER-1107.
bq. https://issues.apache.org/jira/browse/ZOOKEEPER-1107
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. ./conf/zoo_sample.cfg 1141901
bq. ./src/java/main/org/apache/zookeeper/ZooKeeperPurger.java PRE-CREATION
bq. ./src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java
1141901
bq. ./src/java/test/org/apache/zookeeper/ZooKeeperPurgeTest.java
PRE-CREATION
bq.
bq. Diff: https://reviews.apache.org/r/1043/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq. test added, passing hudson qa bot.
bq.
bq.
bq. Thanks,
bq.
bq. Patrick
bq.
bq.
> 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
> Attachments: ZOOKEEPER-1107.1.patch, ZOOKEEPER-1107.2.patch,
> ZOOKEEPER-1107.3.patch, ZOOKEEPER-1107.patch
>
>
> 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