Campaign method blocks #19312
Unanswered
fade2black
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You might want to refer to links below, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have three nodes that compete for leadership.
Each node starts by calling the
campaign
method. When all nodes work in parallel, one of them acquires leadership, and so other nodes are blocked by thecampaign
method.These follower nodes are effectively stuck until the leader either resigns or fails and hence follower nodes cannot continue.
Does anyone have any idea how to implement it?
How are nodes notified when the lease expired? I have checked etcd key/values when the campaign is called, and noticed that each node generates different keys. So it is impossible to know what key to watch.
Beta Was this translation helpful? Give feedback.
All reactions