Raft's Implementation
Let's have an overview of Raft's implementation.
We'll cover the following
A brief overview
What has been described so far consists of the main specification of the Raft protocol. The
contains more information on some other implementation details that will be covered briefly here. paper D. Ongaro and J. Ousterhout, “In Search of an Understandable Consensus Algorithm,” Proceedings of the 2014 USENIX Conference on USENIX Annual Technical Conference, 2014.
Cluster membership changes can be performed using the same mechanisms by storing the cluster members in the same way regular data is stored.
An important note is that transition from an old configuration to a new configuration must be done via a transition to an intermediate configuration that contains both the old and the new configuration. This is to prevent two different leaders from being elected for the same term. The following illustration illustrates how that could happen if the cluster transitioned from directly to .
Get hands-on with 1200+ tech skills courses.