Verification and Visualization of a ConsensusAlgorithm using TLA+
summary
Formal TLA+ model of Ceph’s Paxos-derived consensus clarifies safety, is checked with TLC, and reproduces a real pre‑1.0 bug: TLC finds the injected flaw in about 43–50 seconds producing a 37‑state error trace. A browser tool tlaplus-graph-explorer visualizes TLC traces and dot graphs, renders large state graphs using roughly 10% of file memory, and makes the trace steps and leader crashes/readbacks clear. Symmetry reductions cut runtimes from hours to minutes on larger parameter sets.
AI-written summary · about
chapters (14)
- 0:00Introduction and motivation
- 2:57Distributed consensus problem
- 6:09Ceph and consensus in practice
- 9:19TLA+ specification design
- 12:08Specification implementation details
- 15:42Safety properties and verification
- 17:27Bug discovery in specification
- 19:09Visualization tool introduction
- 21:19State graph exploration tool
- 22:45Customizing visualization tool
- 24:36Demo of visualization tool
- 26:01Performance results
- 27:47Future work and improvements
- 33:05Q&A session
