Purge ZK snapshots more frequently

It looks like 6 hours is too infrequent and is enough time for the
disk to fill up when we're busy.  Instead, purge old snapshots every
2 hours, which looks like it should give us plenty of headroom with
our current usage pattern.

Change-Id: Ieb92d052e633e9326c41367442f036cc333c40f2
This commit is contained in:
James E. Blair 2021-11-08 07:34:46 -08:00
parent 28243caa7f
commit 1a48e06b54

View File

@ -18,7 +18,7 @@ autopurge.snapRetainCount=3
# be separately controlled through snapRetainCount and # be separately controlled through snapRetainCount and
# defaults to the minimum value of 3. This will quickly fill the # defaults to the minimum value of 3. This will quickly fill the
# disk in production if not enabled. Works on ZK >=3.4. # disk in production if not enabled. Works on ZK >=3.4.
autopurge.purgeInterval=6 autopurge.purgeInterval=2
maxClientCnxns=60 maxClientCnxns=60
standaloneEnabled=true standaloneEnabled=true
admin.enableServer=true admin.enableServer=true