remora/docs/protocol/Remora.cfg

49 lines
1.1 KiB
INI
Raw Normal View History

2026-07-10 11:39:49 +09:00
SPECIFICATION Spec
CHECK_DEADLOCK TRUE
2026-07-10 11:39:49 +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
ReservationLimit = 1
2026-07-10 11:39:49 +09:00
LocalLimit = 1
GlobalLimit = 1
FaultsEnabled = TRUE
FaultServices = {"Coordination"}
MaxCoordLosses = 1
MaxPartitions = 1
2026-07-10 11:39:49 +09:00
INVARIANTS
TypeOK
StateConsistency
AllocatedTokensUsed
LiveProgressWellFormed
LiveProgressCompatibleWithLiveLease
AtMostOneLiveLeasePerJob
AuthorityWellFormed
2026-07-10 11:39:49 +09:00
CommittedResultConsistent
CancellationSafety
PermitSafety
ResumeValidity
StagingOwnership
2026-07-10 11:39:49 +09:00
PROPERTIES
TerminalStateIsImmutable
FencingTokensMonotonic
CommitIsFencedCAS
2026-07-13 16:41:51 +09:00
FailureDispositionHonored
EventuallyDispatched
2026-07-10 11:39:49 +09:00
EventuallyReaped
EventuallyAuthorizedResolved
2026-07-10 11:39:49 +09:00
EventuallyTerminal
EventuallyNonWinnerStagingCleaned
EventuallySystemQuiescent