Don't reset election_elapsed if request vote will be rejected. #14
Labels
Enhancement
An improvement to existing code.
Optimization
Performance related optimizations.
Request for Comment
A proposal to be considered. Analogous to an RFC in TiKV/Rust.
For now a candidate will always reset election_elapsed when receiving a message with higher term. However if the vote is about to be rejected, reset elapsed will make campaign postponed at lease an election timeout.
The text was updated successfully, but these errors were encountered: