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
18 lines
197 B
INI
18 lines
197 B
INI
CONSTANTS
|
|
Replicas = {r1, r2, r3}
|
|
MaxLsn = 3
|
|
MaxSyncCount = 2
|
|
|
|
INIT Init
|
|
NEXT Next
|
|
|
|
CHECK_DEADLOCK FALSE
|
|
|
|
INVARIANTS
|
|
TypeOk
|
|
AcksRemovePending
|
|
PendingAreKnown
|
|
|
|
PROPERTIES
|
|
MonotonicLsn
|