Parent issue: #475
Overview
Add Stateright.rs model checking tests to validate openraft's correctness. Stateright is a Rust-native distributed systems testing framework that can be embedded directly into the test suite.
Goals
- Model check core Raft properties
- Verify safety properties (no split-brain, log consistency)
- Verify liveness properties (leader election, log replication)
- Complement Jepsen with faster, deterministic testing
Advantages over Jepsen
- Written in Rust, integrates directly with openraft
- Faster iteration during development
- Deterministic execution for reproducible bugs
- No external infrastructure required
Implementation Steps
References
Parent issue: #475
Overview
Add Stateright.rs model checking tests to validate openraft's correctness. Stateright is a Rust-native distributed systems testing framework that can be embedded directly into the test suite.
Goals
Advantages over Jepsen
Implementation Steps
staterightas dev-dependencyReferences