Skip to content
Discussion options

You must be logged in to vote

Hello @Vshishkar, thank you for bringing this up.

electionTimeOut is reset every time Candidate requests vote

<pedantic>the timer is reset every time a node receives a vote request (the cause of which is a candidate sending it out sometimes before)</pedantic>.

As you suggest, this could increase the time it takes to replace a failed leader.
However it could also result in less contention and interference when another candidate is trying to get elected.

So overall, it's hard to say wether this is a net benefit or not. Depends on the situation.

We are indeed not compliant to what the paper suggests (that is: reset for valid AppendEntry and granted VoteRequest).
But i hope we agree that th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Vshishkar
Comment options

Answer selected by mprimi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants