akka-raft
akka-raft copied to clipboard
Candidate should check term in VoteCandidate messages
Candidates currently don't check that a VoteCandidate message comes from a server in the expected term. This could allow a candidate to be elected by votes from a previous term whose delivery was severely delayed.
In fact, I have a test case that appears to trigger that behavior.