commit 94661eec4c1ab8be66f0fe7fa617b46f80884454
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Wed Mar 9 09:10:11 2022 -0600
fix(deadlock): Cert rotation can deadlock on follower startup.
On startup of a cluster, there is a chance that a follower can deadlock if it
attempts to open a connection to another cluster member at the same time that
the raft state machine is updating the shared root certificates.
Fix the deadlock by making the stored list of per-cluster root certs an
atomic value instead of guarding it with a mutex.
M consensus/raft.go
M consensus/raftFSM.go
M consensus/serverAPI.go
End of Note