Update ZooKeeper autopurge recommendation
* This updates Zuul's recommendation to follow opendev's default:
1a48e06b54
* Also adds some explanation for newbies to ZK.
* Update some example zoo.cfg files to have this setting.
Change-Id: Iac5440e09916cad79709eb4c1f93acf71e1e90bc
This commit is contained in:
@@ -4,7 +4,7 @@ tickTime=2000
|
||||
initLimit=5
|
||||
syncLimit=2
|
||||
autopurge.snapRetainCount=3
|
||||
autopurge.purgeInterval=0
|
||||
autopurge.purgeInterval=2
|
||||
maxClientCnxns=1000
|
||||
standaloneEnabled=true
|
||||
admin.enableServer=true
|
||||
|
||||
@@ -15,10 +15,12 @@ The following general configuration setting in
|
||||
|
||||
.. code-block::
|
||||
|
||||
autopurge.purgeInterval=6
|
||||
autopurge.purgeInterval=2
|
||||
|
||||
This instructs ZooKeeper to purge old snapshots every 6 hours. This
|
||||
will avoid filling the disk.
|
||||
ZooKeeper's default config will never purge snapshots, causing the
|
||||
disk to eventually fill up. This instructs ZooKeeper to purge old
|
||||
snapshots every 2 hours. This covers most use cases. This value
|
||||
depends on load and available disk space.
|
||||
|
||||
.. _zk-encrypted-connections:
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ tickTime=2000
|
||||
initLimit=5
|
||||
syncLimit=2
|
||||
autopurge.snapRetainCount=3
|
||||
autopurge.purgeInterval=0
|
||||
autopurge.purgeInterval=2
|
||||
maxClientCnxns=1000
|
||||
standaloneEnabled=true
|
||||
admin.enableServer=true
|
||||
|
||||
Reference in New Issue
Block a user