From bf5006ec01d8024eb2dfd234bdcd559b6e8cdcc5 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Tue, 22 Mar 2022 15:06:25 -0400 Subject: [PATCH] set raft v3 as the default config (#12341) --- nomad/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nomad/config.go b/nomad/config.go index 2396900c1..6ea8cfd09 100644 --- a/nomad/config.go +++ b/nomad/config.go @@ -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 }