Life of a Log Entry under Consensus (Raft/Paxos-style)

Life of a Log Entry under Consensus (Raft/Paxos-style) A lifecycle diagram generated by Archify. Entry lifecycle Slow quorum and term change Terminal outcomes Proposed · client write arrives · Entry lifecycle · next log slot 01 Proposed client write arrives next log slot Appended · leader log, current term · Entry lifecycle · leader only 02 Appended leader log, current term leader only Replicating · quorum vote on the entry · Entry lifecycle · second vote round 03 Replicating quorum vote on the entry second vote round Committed · durable, client gets OK · Entry lifecycle · never lost 04 Committed durable, client gets OK never lost Applied · state machine updated · Entry lifecycle · in log order 05 Applied state machine updated in log order Stalled · slow or failed nodes · Slow quorum and term change · retryable Stalled slow or failed nodes retryable Superseded · higher term discovered · Slow quorum and term change · leader steps down Superseded higher term discovered leader steps down Dropped · uncommitted, overwritten · Terminal outcomes · terminal Dropped uncommitted, overwritten terminal Durable · survives every failover · Terminal outcomes · terminal Durable survives every failover terminal append to own log send to followers acked by quorum apply in log order quorum not reached yet retry and resend higher term seen client retries replaced by new leader committed entry survives Legend initial state active waiting decision success failure / exit final state