Server with raft protocol 2 joining cluster with raft protocol 3 #11867
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/raft
type/bug
Nomad version
1.2.3
Operating system and Environment details
CentOS Stream 8
Issue
In my configuration, I set
raft_protocol
to 3 some time ago to upgrade all my servers. Now that I'm upgrading to 1.2.3 I wanted to remove that hardcoded version in case at some point there's a version 4. I removed it from one server and I was surprised to see it rejoin the cluster with a protocol of 2:If I understand the documentation correctly, this is not supposed to be possible:
(https://www.nomadproject.io/docs/upgrade/upgrade-specific#upgrading-to-raft-protocol-3)
Reproduction steps
raft_protocol=3
raft_protocol
configuration from one noderaft_protocol=2
Expected Result
I expected node XXX30 to rejoin the cluster with
raft_protocol=3
even though that option was no longer forced by it's configuration.Actual Result
XXX30 rejoins with
raft_protocol=2
, even though the rest of the cluster is using 3.Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
The text was updated successfully, but these errors were encountered: