Multiple leader election (Multiple increases in term) #532
Unanswered
jopemachine
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the 3-node example, after setting the
election_tick
to 10 and theheartbeat_tick
to 3, multiple leader elections are occurring due to network failures when electing a new leader.Is this issue happening simply because I have set the
heartbeat_tick
andelection_tick
too low? I am wondering if it is expected behavior for a new leader election could occur while in the process of electing a leader.This issue occurs only when continuous put requests are sent and a network failure happens. (This means that requests continue to come in even during the leader election process.)
In contrast, in the simple 3-node example, when the leader quitted forcely, only one leader election occurs normally (with the term increasing to 2)
Beta Was this translation helpful? Give feedback.
All reactions