3 ms·
A commit has to be replicated to majority of the cluster, and a leader is elected by approval of majority of the cluster. More than that each of the nodes appr
by isbvhodnvemrwvn 6y ago
A commit has to be replicated to majority of the cluster, and a leader is elected by approval of majority of the cluster.
More than that each of the nodes approving the commit would reject a candidate who has log inconsistent with their history. Therefore a node with inconsistent log could not be elected as a leader.
In raft paper it's shown in 5.4.3 (safety argument).