atomix / copycat

A novel implementation of the Raft consensus algorithm

Home Page:http://atomix.io/copycat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reject reads from followers after election timeout

kuujo opened this issue · comments

Followers should reject reads when they haven't heard from the leader for an election timeout. Once a follower's election times out, it will attempt to start a new election but the pre-vote protocol will fail if the follower is partitioned. In that case, the follower should reject any queued reads and begin rejecting future reads until the partition is healed.