Conditional sole-leader 4-phase progress steps #
Proves paxos_liveness_from_phase2a_crashStop (Phase 2 progress using only an accept quorum) and
paxos_liveness_of_sole_leader_crashStop (conditional 4-phase crash-stop progress under a fresh
sole-leader ballot).
Main results #
Cslib.Distributed.Paxos.paxos_liveness_from_phase2a_crashStop: phase-2 progress using only an accept quorum after the proposal is sent, without requiring a live prepare quorum.Cslib.Distributed.Paxos.paxos_liveness_of_sole_leader_crashStop: conditional crash-stop 4-phase learner termination step under a live sole leader at a fresh highest ballot.
Crash-stop phase-2 progress after a proposal has been sent: an accept quorum suffices, even if no prepare quorum remains live. With no higher promise on that quorum and fair delivery of the proposal and its votes, a reachable execution eventually records the proposal at the learner. No proposer liveness or delivery of phase-1 messages is required. This is a phase-2 step after [HMS17], §§3–4.1, in the crash-stop model; persistent-storage recovery and Multi-Paxos remain outside this kernel (issue #7207).
Conditional crash-stop 4-phase progress step towards [Lam01] §2.4 and [Lam98] §2.1
Theorem 2 / §2.4, and not the crash-recovery or timeout-based leader-election liveness result:
assuming an already-selected sole leader p (without modeling leader election, NACK nextBal[q]
ballot-bumping, persistent-storage crash recovery, or real-time timeout bounds), from any reachable
crash-stop Synod state ss 0, if live proposer p issues prepare p r at step 0 with ballot
b = ⟨r, p⟩ strictly exceeding all ballots previously present or promised
(BallotsBelow (ss 0) b), no ballot strictly greater than b is subsequently prepared, and
ballot-b packets among p, a live cohort Q containing a quorum of each phase
(qs.Supports Q), and live learner l are delivered
without loss (LiveAndLossless b p Q l ss xs), then l eventually learns a decree value v at
ballot b (and ((ss k).learners l).learned = some v).