This repository was archived by the owner on Dec 19, 2017. It is now read-only.
Reject actions that are disruptive to the leader during configuration changes #27
Open
Description
There is some potential for leaders to be disrupted during configuration changes. Since the leader updates its configuration when it logs the configuration change, servers that are removed from the leader's configuration may timeout and attempt an election. By incrementing the term and requesting a vote from the leader, a server that was removed from the leader's configuration can force the leader to step down.
Handling this case requires a simple extension to the handling of VoteRequest
to reject requests if received within an election timeout of receiving a heartbeat from the leader.