Skip to content

PHOENIX-7843 TLA+ specification of Consistent Failover#2461

Open
apurtell wants to merge 1 commit intoapache:PHOENIX-7562-feature-newfrom
apurtell:PHOENIX-7843
Open

PHOENIX-7843 TLA+ specification of Consistent Failover#2461
apurtell wants to merge 1 commit intoapache:PHOENIX-7562-feature-newfrom
apurtell:PHOENIX-7843

Conversation

@apurtell
Copy link
Copy Markdown
Contributor

@apurtell apurtell commented May 5, 2026

Formal specification of the Phoenix Consistent Failover protocol and implementation using TLA+ and the TLC model checker. The spec verifies safety properties such as mutual exclusion, zero RPO, and abort correctness under arbitrary interleavings of admin actions, HDFS failures, RS crashes, ZK connection/session failures, watcher retry exhaustion, and the anti-flapping timer.

Literate programming versions of all specification files are available in the markdown/ directory, referenced from the README.md. Each file includes the complete TLA+ code with comments converted to prose that discusses modeling choices, tradeoffs, and implementation traceability in depth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant