Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Bug: enable zookeeper log purge #1294

Closed
stevendborrelli opened this issue Mar 24, 2016 · 1 comment
Closed

Bug: enable zookeeper log purge #1294

stevendborrelli opened this issue Mar 24, 2016 · 1 comment
Labels
Milestone

Comments

@stevendborrelli
Copy link
Contributor

Zookeeper logs and snapshots are not currently being purged from the system. This needs to be enabled as part of cleanup to keep root disks from filling on busy clusters.

autopurge.snapRetainCount
(No Java system property)

New in 3.4.0: When enabled, ZooKeeper auto purge feature retains the autopurge.snapRetainCount most recent snapshots and the corresponding transaction logs in the dataDir and dataLogDir respectively and deletes the rest. Defaults to 3. Minimum value is 3.

autopurge.purgeInterval
(No Java system property)

New in 3.4.0: The time interval in hours for which the purge task has to be triggered. Set to a positive integer (1 and above) to enable the auto purging. Defaults to 0.
@stevendborrelli stevendborrelli added this to the 1.1 milestone Mar 30, 2016
@stevendborrelli
Copy link
Contributor Author

Fixed via #1309

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant