44 lines
909 B
INI
44 lines
909 B
INI
SPECIFICATION SafetySpec
|
|
|
|
CHECK_DEADLOCK TRUE
|
|
|
|
CONSTANTS
|
|
Jobs = {j1}
|
|
Workers = {w1}
|
|
InitialWorkers = {w1}
|
|
NoJob = NoJob
|
|
NoWorker = NoWorker
|
|
MaxAttempts = 2
|
|
MaxProgress = 2
|
|
LeaseLimit = 1
|
|
ReservationLimit = 1
|
|
LocalLimit = 1
|
|
GlobalLimit = 1
|
|
FaultsEnabled = FALSE
|
|
FaultServices = {}
|
|
MaxCoordLosses = 0
|
|
MaxPartitions = 0
|
|
MaxCredentialIntents = 0
|
|
|
|
INVARIANTS
|
|
TypeOK
|
|
StateConsistency
|
|
AllocatedTokensUsed
|
|
LiveProgressWellFormed
|
|
LiveProgressCompatibleWithLiveLease
|
|
AtMostOneLiveLeasePerJob
|
|
AuthorityWellFormed
|
|
CommittedResultConsistent
|
|
CancellationSafety
|
|
PermitSafety
|
|
ResumeValidity
|
|
CheckpointStagingOwnership
|
|
StagingOwnership
|
|
CredentialLifecycleWellFormed
|
|
NoOrphanSecrets
|
|
|
|
PROPERTIES
|
|
TerminalStateIsImmutable
|
|
FencingTokensMonotonic
|
|
CommitIsFencedCAS
|
|
FailureDispositionHonored
|