Add initial draft of Remora model
This commit is contained in:
parent
39b41393a6
commit
1206c0a5ac
1 changed files with 1121 additions and 0 deletions
36
docs/protocol/RemoraTargetFault.cfg
Normal file
36
docs/protocol/RemoraTargetFault.cfg
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
SPECIFICATION SafetySpec
|
||||
|
||||
CHECK_DEADLOCK FALSE
|
||||
|
||||
\* Worker can reach coordination and durable authority while target 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 = {"Target"}
|
||||
|
||||
INVARIANTS
|
||||
TypeOK
|
||||
StateConsistency
|
||||
AtMostOneAuthoritativeAttempt
|
||||
FencingTokensUnique
|
||||
CommittedResultConsistent
|
||||
CancellationSafety
|
||||
PermitSafety
|
||||
QueueRecoverable
|
||||
AttemptIsolation
|
||||
ResumeValidity
|
||||
ZombieIsolation
|
||||
|
||||
PROPERTIES
|
||||
TerminalStateIsImmutable
|
||||
FencingTokensMonotonic
|
||||
CommitIsFencedCAS
|
||||
Loading…
Reference in a new issue