36 lines
735 B
INI
36 lines
735 B
INI
SPECIFICATION SafetySpec
|
|
|
|
CHECK_DEADLOCK FALSE
|
|
|
|
\* Worker can reach coordination and target while durable authority is cut.
|
|
CONSTANTS
|
|
Jobs = {j1}
|
|
Workers = {w1}
|
|
InitialWorkers = {w1}
|
|
NoJob = NoJob
|
|
NoWorker = NoWorker
|
|
MaxAttempts = 2
|
|
MaxProgress = 1
|
|
LeaseLimit = 1
|
|
LocalLimit = 1
|
|
GlobalLimit = 1
|
|
FaultsEnabled = TRUE
|
|
FaultServices = {"Durable"}
|
|
|
|
INVARIANTS
|
|
TypeOK
|
|
StateConsistency
|
|
AtMostOneAuthoritativeAttempt
|
|
FencingTokensUnique
|
|
CommittedResultConsistent
|
|
CancellationSafety
|
|
PermitSafety
|
|
QueueRecoverable
|
|
AttemptIsolation
|
|
ResumeValidity
|
|
ZombieIsolation
|
|
|
|
PROPERTIES
|
|
TerminalStateIsImmutable
|
|
FencingTokensMonotonic
|
|
CommitIsFencedCAS
|