54711d0190
- raft.tla: Add HasCompatiblePrefix check (prevLogIndex/prevLogTerm) - raft.tla: Add RejectAppendEntries action for follower rejection - raft.tla: Add conflict truncation + commitIndex/matchIndex adjustment - raft.tla: Restore LogMatching invariant - raft.tla: Guard AppendEntry to prevent term gaps in leader log - models/raft.cfg: Add LogMatching to checked invariants - .github/workflows/ci.yml: Replace container with setup-java + cache - run_all.sh: Use -workers auto and -XX:+UseParallelGC - Update PLAN.md, PLAN_DONE.md, ANALYSIS.md, README.md
19 lines
232 B
INI
19 lines
232 B
INI
CONSTANTS
|
|
Nodes = {n1, n2, n3}
|
|
Nil = Nil
|
|
MaxTerm = 3
|
|
MaxLogLen = 3
|
|
|
|
INIT Init
|
|
NEXT Next
|
|
|
|
CHECK_DEADLOCK FALSE
|
|
|
|
INVARIANTS
|
|
TypeOk
|
|
ElectionSafety
|
|
LeaderAppendOnly
|
|
StateMachineSafety
|
|
CommittedIndexValid
|
|
LogMatching
|