akka-raft icon indicating copy to clipboard operation
akka-raft copied to clipboard

Candidate should check term in VoteCandidate messages

Open schuster opened this issue 9 years ago • 1 comments

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.

schuster avatar Apr 15 '15 16:04 schuster

In fact, I have a test case that appears to trigger that behavior.

colin-scott avatar Apr 25 '15 17:04 colin-scott