Normalize hashicorp raft peer ids (#8253)

* Normalize raft voter ids

* 4.11

* Update raft_hashicorp.go
This commit is contained in:
Chris Lu authored and GitHub committed 2026-02-09 07:46:34 -08:00
1 parent 2ed5a8f65c
commit cb9e21cdc5
5 files changed
+119 -21

No files matched your search

+1 -1
View File
@@ -418,7 +418,7 @@ func (ms *MasterServer) OnPeerUpdate(update *master_pb.ClusterNodeUpdate, startF
glog.V(4).Infof("OnPeerUpdate: %+v", update)
peerAddress := pb.ServerAddress(update.Address)
peerName := string(peerAddress)
peerName := raftServerID(peerAddress)
if ms.Topo.HashicorpRaft.State() != hashicorpRaft.Leader {
return
}