mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
set raft v3 as the default config (#12341)
This commit is contained in:
@@ -446,8 +446,8 @@ func DefaultConfig() *Config {
|
||||
// Disable shutdown on removal
|
||||
c.RaftConfig.ShutdownOnRemove = false
|
||||
|
||||
// Default to Raft v2, update to v3 to enable new Raft and autopilot features.
|
||||
c.RaftConfig.ProtocolVersion = 2
|
||||
// Default to Raft v3 since Nomad 1.3
|
||||
c.RaftConfig.ProtocolVersion = 3
|
||||
|
||||
return c
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user