2026-07-10 11:39:49 +09:00
|
|
|
SPECIFICATION Spec
|
|
|
|
|
|
2026-07-10 12:43:32 +09:00
|
|
|
CHECK_DEADLOCK TRUE
|
2026-07-10 11:39:49 +09:00
|
|
|
|
2026-07-10 12:43:32 +09:00
|
|
|
\* Fair Spec + liveness under coordination faults. Fault budgets are 1 so
|
|
|
|
|
\* temporal checking finishes in minutes; multi-shot budgets are covered by
|
|
|
|
|
\* RemoraMultiShot.cfg (safety-only).
|
2026-07-10 11:39:49 +09:00
|
|
|
CONSTANTS
|
|
|
|
|
Jobs = {j1}
|
|
|
|
|
Workers = {w1, w2}
|
|
|
|
|
InitialWorkers = {w1}
|
|
|
|
|
NoJob = NoJob
|
|
|
|
|
NoWorker = NoWorker
|
|
|
|
|
MaxAttempts = 2
|
|
|
|
|
MaxProgress = 1
|
|
|
|
|
LeaseLimit = 1
|
2026-07-14 18:12:28 +09:00
|
|
|
ReservationLimit = 1
|
2026-07-10 11:39:49 +09:00
|
|
|
LocalLimit = 1
|
|
|
|
|
GlobalLimit = 1
|
|
|
|
|
FaultsEnabled = TRUE
|
|
|
|
|
FaultServices = {"Coordination"}
|
2026-07-10 12:43:32 +09:00
|
|
|
MaxCoordLosses = 1
|
|
|
|
|
MaxPartitions = 1
|
2026-07-10 11:39:49 +09:00
|
|
|
|
|
|
|
|
INVARIANTS
|
|
|
|
|
TypeOK
|
|
|
|
|
StateConsistency
|
2026-07-10 12:43:32 +09:00
|
|
|
AllocatedTokensUsed
|
2026-07-10 14:16:29 +09:00
|
|
|
LiveProgressWellFormed
|
|
|
|
|
LiveProgressCompatibleWithLiveLease
|
2026-07-10 12:43:32 +09:00
|
|
|
AtMostOneLiveLeasePerJob
|
|
|
|
|
AuthorityWellFormed
|
2026-07-10 11:39:49 +09:00
|
|
|
CommittedResultConsistent
|
|
|
|
|
CancellationSafety
|
|
|
|
|
PermitSafety
|
|
|
|
|
ResumeValidity
|
2026-07-10 12:43:32 +09:00
|
|
|
StagingOwnership
|
2026-07-10 11:39:49 +09:00
|
|
|
|
|
|
|
|
PROPERTIES
|
|
|
|
|
TerminalStateIsImmutable
|
|
|
|
|
FencingTokensMonotonic
|
|
|
|
|
CommitIsFencedCAS
|
2026-07-13 16:41:51 +09:00
|
|
|
FailureDispositionHonored
|
2026-07-10 12:43:32 +09:00
|
|
|
EventuallyDispatched
|
2026-07-10 11:39:49 +09:00
|
|
|
EventuallyReaped
|
2026-07-14 18:12:28 +09:00
|
|
|
EventuallyAuthorizedResolved
|
2026-07-10 11:39:49 +09:00
|
|
|
EventuallyTerminal
|
2026-07-10 14:46:55 +09:00
|
|
|
EventuallyNonWinnerStagingCleaned
|
|
|
|
|
EventuallySystemQuiescent
|