Overview #

Terminology #

Leadership #

Followers #

Candidates #

Log Replication #

Cluster Membership Changes #

Cluster Membership Overview #

  1. The cluster first switches to a transitional phase called joint consensus
  2. The system transitions to the new configuration

Membership Change Process #

  1. The leader sees a request for a new configuration change and the leader replicates it to the servers as usual, committing the new configuration when a majority of servers have the replicated configuration
    • The first configuration committed is the joint new and old configuration entry
    • Each follower always uses the most recent configuration in its log
  2. Once the leader commits joint consensus configuration, it requires consensus from both configurations before commiting
  3. Once the new configuration is committed the old configuration is irrelevant and old servers can be shut down

Log Compaction #

Client Interaction #