Raft keeps a cluster of servers agreeing on one log of commands while some of them crash or the network splits. The servers elect a leader; it appends each write to its log and copies it to the others, and an entry from the leader’s own term is committed once a majority of servers store it (earlier entries commit along with it).