39e07b542d
- twopc.tla: Add coordinatorLog (persistent WAL for decisions) - twopc.tla: Add CrashCoordinator action - twopc.tla: Add RecoverCoordinator action (reads from coordinatorLog) - twopc.tla: Add ParticipantTimeout (only if coordinatorLog = Nil) - twopc.tla: Add RecoveryConsistency invariant - models/twopc.cfg: Add RecoveryConsistency to checked invariants - Update PLAN.md, ANALYSIS.md, README.md with new metrics
19 lines
258 B
INI
19 lines
258 B
INI
CONSTANTS
|
|
Participants = {p1, p2, p3}
|
|
Nil = Nil
|
|
MaxTxnId = 3
|
|
|
|
INIT Init
|
|
NEXT Next
|
|
|
|
CHECK_DEADLOCK FALSE
|
|
|
|
INVARIANTS
|
|
TypeOk
|
|
Atomicity
|
|
NoOrphanBlocks
|
|
CoordinatorConsistency
|
|
NoDecideWithoutConsensus
|
|
ParticipantStateValid
|
|
RecoveryConsistency
|