feat(raft-sim-conformance): Leader Completeness invariant checker (task 3.3)
This commit is contained in:
parent
d9b5fd51e0
commit
63a9740c85
4 changed files with 143 additions and 1 deletions
|
|
@ -71,7 +71,7 @@
|
|||
- _Boundary: raft_sim.c, test_raft.c_
|
||||
- _Depends: 1.1_
|
||||
|
||||
- [ ] 3.3 RED+GREEN: Leader Completeness checker (P)
|
||||
- [x] 3.3 RED+GREEN: Leader Completeness checker (P)
|
||||
- Test: a committed `(index, term)` absent from a higher-term leader's log fails; present passes
|
||||
- Implement `raft_sim_check_leader_completeness` using `commit_index` + per-node logs, tracking the highest-term leader to date
|
||||
- Observable completion: both directions assert correctly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue