Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The EndQuorumEpoch API is used by a leader to gracefully step down so that an election can be held immediately without waiting for the election timeout. It is sent to all voters the most caught-up voter in the quorum from leader's perspective. The primary use case for this is to enable graceful shutdown. If the shutting down voter is either an active current leader or a candidate if there is an election in progress, then this request will be sent. It is also used when the leader needs to be removed from the quorum following an AlterQuorum request. 

Upon receiving an EndQuorumEpoch request, voters the successor voter will begin a new election after a random time bounded by quorum.election.jitter.max.ms.

...