You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Raft.LeaderCh() return a new channel for each invocation
.. and immediately send the current leadership state over the channel.
This way it can be used by multiple pieces of code with disrupting another.
Sending the value immediately avoids strange race conditions when RaftState gets updated at a slightly different moment.
fixeshashicorp#426
0 commit comments