Commit ae666bb4 authored by Mahmood Ali's avatar Mahmood Ali
Browse files

Default raft protocol to version 3

parent ddf2f6be
Showing with 9 additions and 9 deletions
+9 -9
......@@ -15,14 +15,14 @@ import (
"syscall"
"time"
"github.com/armon/go-metrics"
metrics "github.com/armon/go-metrics"
"github.com/armon/go-metrics/circonus"
"github.com/armon/go-metrics/datadog"
"github.com/armon/go-metrics/prometheus"
"github.com/hashicorp/consul/lib"
"github.com/hashicorp/go-checkpoint"
"github.com/hashicorp/go-discover"
"github.com/hashicorp/go-hclog"
checkpoint "github.com/hashicorp/go-checkpoint"
discover "github.com/hashicorp/go-discover"
hclog "github.com/hashicorp/go-hclog"
gsyslog "github.com/hashicorp/go-syslog"
"github.com/hashicorp/logutils"
"github.com/hashicorp/nomad/helper"
......@@ -1197,7 +1197,7 @@ Server Options:
-raft-protocol=<num>
The Raft protocol version to use. Used for enabling certain Autopilot
features. Defaults to 2.
features. Defaults to 3.
-retry-join=<address>
Address of an agent to join at start time with retries enabled.
......
......@@ -398,9 +398,9 @@ func DefaultConfig() *Config {
// Disable shutdown on removal
c.RaftConfig.ShutdownOnRemove = false
// Enable interoperability with new raft APIs, requires all servers
// to be on raft v1 or higher.
c.RaftConfig.ProtocolVersion = 2
// Enable interoperability with new raft APIs and autopilot features,
// requires all servers to be on raft v3 or higher.
c.RaftConfig.ProtocolVersion = 3
return c
}
......@@ -14,7 +14,7 @@ servers, monitoring the state of the Raft cluster, and stable server introductio
To enable Autopilot features (with the exception of dead server cleanup),
the `raft_protocol` setting in the [server stanza](/docs/configuration/server.html)
must be set to 3 on all servers. In Nomad 0.8 this setting defaults to 2; in Nomad 0.9 it will default to 3.
must be set to 3 on all servers. In Nomad 0.9 this setting defaults to 2; in Nomad 0.10 it will default to 3.
For more information, see the [Version Upgrade section](/guides/upgrade/upgrade-specific.html#raft-protocol-version-compatibility)
on Raft Protocol versions.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment