e73bfb450c
Verified with TLC model checker: - Raft: 475k states, ElectionSafety + StateMachineSafety - 2PC: 22k states, Atomicity + NoOrphanBlocks - MVCC: 177k states, NoDirtyReads + ReadOwnWrites + WriteWriteConflict - Replication: 3.6M states, MonotonicLsn + AcksRemovePending
15 lines
160 B
INI
15 lines
160 B
INI
CONSTANTS
|
|
Participants = {p1, p2, p3}
|
|
Nil = Nil
|
|
MaxTxnId = 2
|
|
|
|
INIT Init
|
|
NEXT Next
|
|
|
|
CHECK_DEADLOCK FALSE
|
|
|
|
INVARIANTS
|
|
TypeOk
|
|
Atomicity
|
|
NoOrphanBlocks
|