From d3c4d2c495a6a56598128224c034e9ac673872c2 Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Fri, 25 May 2018 16:17:43 -0700 Subject: [PATCH] website: add raft snapshot setting defaults --- website/source/docs/agent/options.html.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/source/docs/agent/options.html.md b/website/source/docs/agent/options.html.md index e7f577aca..4badb25ca 100644 --- a/website/source/docs/agent/options.html.md +++ b/website/source/docs/agent/options.html.md @@ -364,14 +364,15 @@ will exit with an error at startup. rarely need to be changed. Very busy clusters experiencing excessive disk IO may increase this value to reduce disk IO, and minimize the chances of all servers taking snapshots at the same time. Increasing this trades off disk IO for disk space since the log will grow much larger and the space in the raft.db file can't be reclaimed till the next snapshot. Servers may take longer to recover from - crashes or failover if this is increased significantly as more logs will need to be replayed. + crashes or failover if this is increased significantly as more logs will need to be replayed. In Consul 1.1.0 and later this + defaults to 16384, and in prior versions it was set to 8192. * `-raft-snapshot-interval` - This controls how often servers check if they need to save a snapshot to disk. his is a low-level parameter that should rarely need to be changed. Very busy clusters experiencing excessive disk IO may increase this value to reduce disk IO, and minimize the chances of all servers taking snapshots at the same time. Increasing this trades off disk IO for disk space since the log will grow much larger and the space in the raft.db file can't be reclaimed till the next snapshot. Servers may take longer to recover from crashes or failover if this is increased significantly as more logs - will need to be replayed. + will need to be replayed. In Consul 1.1.0 and later this defaults to `30s`, and in prior versions it was set to `5s`. * `-recursor` - Specifies the address of an upstream DNS server. This option may be provided multiple times, and is functionally