Antithesis verifies etcd-raft and HashiCorp Raft safety

antithesis.com12 min read

Antithesis demonstrates an iterative approach combining AI, TLA+, and deterministic simulation testing to formally model and verify safety properties in production Raft libraries from etcd and HashiCorp. By translating specifications into the Lean proof assistant and using trace validation under fault injection, the process uncovered several bugs and established that the implementations offer the same core safety guarantees as the original Raft paper. The authors note that the prototype is currently limited to safety properties and relies on environment assumptions. Open article →