Expand description
Durable, append-only leader fencing.
Structs§
- Assignment
Drain Decision - Immutable settlement of one exact assignment-drain transition.
- Assignment
Recovery Decision - Immutable authorization to install one staged failure-recovery assignment.
- Cluster
Outcome Inventory - Live cluster outcomes and their retention horizons from one audited authority head.
- Cluster
Outcome Retention Boundary - Exact continuity retained when old cluster checkpoint outcomes are compacted.
- Leader
Candidacy - Coalescing-safe local candidacy state. A generation change means a published grant was lost and must never reuse its fencing token, even when the current state is eligible again.
- Leader
Lease - Durable leader lease record.
- Leader
Lease Config - Renewal timings for the leader lease.
- Leader
Lease Manager - Acquires and renews leadership while candidacy remains true.
- Leader
Lease Observation - Candidate-local proof that one rival liveness identity remained current for a full TTL.
- Leader
Lease Owner - Exact process incarnation eligible to hold the leader lease.
- Leader
Lease Store - Append-only object-store authority for the cluster leader.
Enums§
- Assignment
Drain Verdict - Terminal result for an assignment-drain transition.
- Cluster
Checkpoint Authority Error - Failure while using the leader sequence as the cluster checkpoint-decision authority.
- Lease
Error - Leader lease storage or validation failure.
- Lease
Outcome - Result of an acquisition or renewal attempt.
- Record
Assignment Drain Decision Result - Result of admitting a drain decision through the shared authority sequence.
- Record
Assignment Recovery Decision Result - Result of admitting a recovery decision through the shared authority sequence.
Functions§
- lease_
grants_ leadership - Whether the exact owner has a durable record and a live process-local deadline.
- lease_
grants_ proof - Whether a captured proof still matches the current exact grant and local deadline.