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

Follower should be able to vote more than once in a term

Open schuster opened this issue 9 years ago • 5 comments

Because Raft RPCs are idempotent, Followers should be able to vote for the same candidate more than once in a given term. This allows the candidate to receive a response in case the first response was dropped.

schuster avatar Apr 15 '15 14:04 schuster

For what it's worth, I have a (non-pull-request-worthy) fix for this here:

https://github.com/NetSys/sts2-applications/commit/4e733c46db4568b18d9240b7a4654f46d70787ae https://github.com/NetSys/sts2-applications/commit/7fecff5925e76dd0e27c672089e4ca580d11b8db

colin-scott avatar Aug 08 '15 02:08 colin-scott

@colin-scott Are you planning to make a pull request with all your changes?

dmitraver avatar Aug 08 '15 14:08 dmitraver

Yeah, @ktoso just suggested that I should. But some of them do depend on your #55, for what it's worth.

colin-scott avatar Aug 08 '15 14:08 colin-scott

I'll look into #55 and others tonight so we can start rolling fixes in then :)

ktoso avatar Aug 08 '15 15:08 ktoso

@ktoso Good news :) I'm looking forward to that

dmitraver avatar Aug 08 '15 20:08 dmitraver