Consensus and replicated logs 00:00:01 Deployment eleven is installed All three replicas have applied deployment eleven. A leader elected in term two now needs to roll out deployment twelve without letting an isolated machine decide the deployment history alone. The leader first appends the proposed deployment twelve entry to its own log. A proposal is not yet a committed command, and the isolated third replica has not received it. Each log entry now carries its own index and term, so we can track which version belongs to which leadership period and avoid confusion. A term identifies a leadership epoch; a deployment number identifies the application change. They need not advance together. Here a leader in term two proposes the next deployment, while the third replica is already out of contact. 00:00:48 A majority makes progress The leader and one follower now durably record the same current-term deployment entry. Two of the three configured voters have the required copy. With two out of three nodes confirming the entry, the majority rule triggers commit: the entry becomes final and is applied locally. The isolated third node still holds the old term one entry and cannot commit new writes without joining the majority. Commit reasoning depends on the protocol. For Raft, a leader can directly advance commit by counting replicas for a current-term entry under the applicable majority rule. Older-term entries need the protocol’s additional commit reasoning. 00:01:29 A minority cannot elect itself The isolated third replica is still a member of a three-voter configuration. It can reach only itself, so a new entry proposed there cannot collect the two votes or matching log copies the protocol requires. A local election timeout can cause that isolated server to start an election. Its one vote is insufficient, even though the server itself is alive and answering local requests. A heartbeat timeout doesn’t grant authority to commit—without a majority, no node can safely advance the log. The configuration still contains three members. Losing contact with two peers does not let a lone node redefine majority to mean one; changing membership requires its own safe protocol. 00:02:15 A new leader reconciles history During an election each voter compares the candidate’s last log term and index against its own. The candidate must collect a majority of eligible votes; it need not know a hypothetical majority’s latest entry in advance. The protocol ensures that committed history remains intact as long as the fault model holds and no data is lost. If logs differ, the new leader can repair conflicting uncommitted suffixes by overwriting the older data with the correct version. Up-to-date log comparison and intersecting majorities together protect committed entries under Raft’s assumptions. Uncommitted proposals that were never promised to clients can legitimately be replaced during recovery. 00:03:00 Reads have their own promise After rejoining, the third replica applies the committed entry and updates its state to match the group’s current term. A direct local read from a replica may be behind the latest committed deployment. A linearizable read needs a protocol that establishes current authority and that the selected state machine has applied the required committed entries. Without a majority, quorum replication cannot guarantee progress, so no new writes can commit until two nodes agree. An old replica may provide a useful explicitly stale dashboard. A linearizable read needs an appropriate safe-read protocol and applied committed state. Decide which of those guarantees the deployment console actually promises.