The model
This page is part of the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at the-model.md, and llms.txt lists every page.Part of Live checkpoint advance: fenced redesign.
WalLiveAdvance.tla covers:
- one WAL partition of three offsets, and one owner leaf;
- its born activation
a1, created by a bulk load, and a duplicatea2that also stands for the next activation after a stop (both read the row and must claim); - a foreign author
fwith point and batch writes and up to two hand-off windows: the bulk switch and one more.f's epoch stands for either a leaf initiator's epoch or a shard-level initiator's routing generation, including every shard's walk of a tree-level range delete; their fences have the same algebra; - a pre-existing writer
p, whose rows the bulk range already holds and the graft relocates (#5610); - an unstamped author
o: a 10.2.0 silo, or any silo while the gate is closed; - a legacy hand-off begun before the gate opened, with no marker;
- another shard's walk
gof a tree-level range delete, which can be fenced out at a close and then re-stamped under another open intent or appended unstamped; - a GC trimming below the shared snapshot's coverage.
Only entries the leaf owns are modelled; entries other leaves own are invisible to its
replay. It reuses WalDurability's abstractions: the read position as the checkpoint,
a snapshot that keeps the highest coverage, and a pin at that coverage.
Per-partition scopes in a one-leaf model (#5635). With one leaf, a value shared by
every leaf of a partition and a value of L's alone are the same variable, so the model
cannot tell them apart unless something else moves the shared one. #5635 hid there: the
retired floor is per partition, while L's own retirements are per leaf. The model
therefore separates them (retired is the partition floor, lRetired L's own retired
epoch, which StaleEpochNeverAppends uses) and adds RetireOther
(WithOtherRetire, WalLiveAdvanceOtherRetire.cfg), another leaf's retirement raising the
partition floor to any epoch. Two further shared scopes are fine and are named for the
refinement note: the unstamped watermark is per partition, so any writer's unstamped
append holds every leaf writing that partition until it replays past it (over-reporting,
safe, cost only); and the routing-generation entry is keyed by partition and initiator.
The promoted module should put two leaves on one partition; RetireOther stands in until
then.
Steps.
- The claim is three steps (
ClaimRow,ClaimWrite,ClaimRaise), withClaimConflict(the epoch row moved) andClaimRefuse(refused at the write or the raise), andClaimBump(any refusal while the activation's ETag holds). The ETag is the pair (rowInc,rowEpoch) (section 1, "The ETag in the model").fenceis the durable entry andmemFencethe in-memory one. - Own appends are two steps.
OwnAllocis the shard's checks and offset assignment under its lock, and records the watermark it reports.Landmakes the append durable and, if its author is still running, applies and acknowledges it.OwnAllocUnstampedis an own append made while the activation's view of the gate is closed.StaleAppendis a rejected stale append (a witness step). - A foreign write is three steps:
ForeignAdmit(stamped with the epoch it is admitted under), thenForeignAllocorForeignRejectat the shard, thenLand.ForeignOpenandCloseopen a window and close it by fence. OldAllocis the unstamped append, admitted unlessUnstampedAdmittedsays otherwise.- Rollout:
LegacyWrite,OpenGate,Resume,LegacyComplete,MarkInit. - Environment:
Duplicate,Restart(loses the in-memory entry and watermark, keeps the durable entry and the generation entry),Reload,Recreate(resets the entry and epoch row, raises the floor), andGcTrim.
Feature switches keep each check small:
WithBatch,MaxWindows: the instance. The base configuration has the batch kind and two windows; every variant runs the reduced instance (point writes, one window).WithDuplicate: admits the duplicate. On in every configuration.WithRecreate,WithRestart,FrozenView(a superseded activation keeps the marker state it last saw),WithMixedVersion,WithGateFlip,WithLegacyHandOff,WithTreeWalk(another shard's walk of a tree-level range delete, authorg, withGAdmit,GAlloc,GReject,GRestampandGUnstamped).WithOtherRetire: another leaf of the partition is retired (RetireOther), raising the shared floor (#5635).WithSecondPartition: a floor-only bump on another partition changes a raised activation's epoch (OtherPartitionBump).Ghosts: enables the witness ghosts. Safety runs keep it off.
Properties:
ReadPositionHonest: no running activation's read position passes a durable entry it does not hold. Unacknowledged entries count, because a WAL reader applies them.SnapshotHonest.NoTrimPastAcked: no trim past an acknowledged append, whoever appended it.StaleEpochNeverAppends: no append is ever accepted from an epoch below the highest raised one, or at or below an epoch of L's own retired incarnations (lRetired), across a shard restart too.OnlySupersededRefused: only a superseded activation is ever refused, at a claim or at an append. Superseded means its ETag no longer holds, a higher epoch was raised, or it belongs to a retired incarnation of L. In particular, another leaf's retirement never refuses a live leaf (#5635), and the straddle never stops a re-created incarnation. The append half needs the witness-gatedStaleAppend, soWalLiveAdvanceOtherRetire.cfgruns withGhostson.OldNeverRejected: no unstamped append is ever rejected.ContestedKeyAgrees: the owner resolves a contested key to the value a WAL reader (a replica or a view) resolves at the same read position, last-writer-wins by version. Every entry the leaf owns writes one key, the contention worst case; every write has a real version, ordered by time. The bulk entry is versioned when its chunk is appended, in arbitrary order against concurrent writes; the model places it between the writes allocated before the bulk began and those after, and every placement is clean.
Checked locally (tla2tools v1.7.4, -workers 2, safety only, all six properties
plus TypeOK):
| Configuration | Switches | Distinct states | Depth | Time |
|---|---|---|---|---|
WalLiveAdvance.cfg (base) |
batch, two windows | 4,822,222 | 35 | 118 s |
WalLiveAdvanceRecreate.cfg |
WithRecreate, Ghosts on |
6,468,285 | 36 | 390 s |
WalLiveAdvanceRestart.cfg |
WithRestart |
7,803,467 | 35 | 180 s |
WalLiveAdvanceFrozenView.cfg |
FrozenView |
1,354,237 | 33 | 33 s |
WalLiveAdvanceMixed.cfg |
WithMixedVersion |
2,525,889 | 33 | 57 s |
WalLiveAdvanceMixedRestart.cfg |
WithMixedVersion, WithRestart |
13,948,705 | 35 | 344 s |
WalLiveAdvanceGateFlip.cfg |
WithGateFlip |
7,609,129 | 33 | 170 s |
WalLiveAdvanceLegacyHandOff.cfg |
WithLegacyHandOff |
20,828,314 | 37 | 499 s |
WalLiveAdvanceTreeWalk.cfg |
WithTreeWalk |
22,966,529 (the reviewer's run with OtherIntentClose; not re-run locally) |
- | - |
WalLiveAdvanceTreeWalkConcurrent.cfg |
WithTreeWalk, two windows |
larger than revision 6's 23,951,016 with OtherIntentClose; for the reviewer or CI |
- | - |
WalLiveAdvanceOtherRetire.cfg |
WithOtherRetire, Ghosts on |
13,817,702 | 36 | 402 s |
WalLiveAdvanceTwoPartition.cfg |
WithSecondPartition |
3,039,953 | 34 | 93 s |
WalLiveAdvanceRecreateCrossShard.cfg |
WithRecreate, WithSecondInitiator, Ghosts off |
15,251,797 | 37 | 792 s |
WalLiveAdvanceRecreateLegacyPurge.cfg |
WithRecreate, WithLegacyPurge, no duplicate, Ghosts off |
474,581 | 31 | 28 s |
WalLiveAdvanceRecreateShards.cfg |
WithRecreate, WithSecondInitiator, WithLegacyPurge, no duplicate, Ghosts off |
926,423 | 32 | 53 s |
All fifteen hold every property, ContestedKeyAgrees and OnlySupersededRefused included, and the four Recreate configurations LiveGenerationAboveFloor too.
Revisions 6 to 8 changed only what a purge, a raised floor or a tree walk reaches:
rowInc and the row floor move only on Recreate; AlreadyDurable admits an equal claim,
which only a purge's recurring epoch value produces; the widened ClaimBump needs a purge
or a raised floor; OtherIntentClose needs WithTreeWalk; and OnlySupersededRefused can be
set only by ClaimRefuse and ClaimConflict, which the bump and the row compare pre-empt,
or by the witness-gated StaleAppend. So base and Recreate were re-run for revision 7
(Recreate, with Ghosts on, was clean at 4,859,576; without them at 3,322,487, the
reviewer's #5641 count), OtherRetire and TwoPartition at revision 6, and the other
configurations are unchanged by construction. The two TreeWalk configurations grow with
OtherIntentClose beyond the small instances run locally; the reviewer's run of TreeWalk
with it is clean at 22,966,529. WalLiveAdvanceOtherRetire.cfg runs without Recreate and
with Ghosts on (revision 5's Recreate-plus-OtherRetire combination, 46,444,519 states, is
a promotion-member CI configuration, with the other combinations). Mutation trace lengths are the shortest a two-worker run found and can
vary by one state between runs. MixedRestart is the reviewer's Mixed+Restart+duplicate
combination (S8) on the reduced instance. #5668, #5705, #5697's review and #5716 changed
only what follows a purge: Recreate (routing floors, the retired generation entries,
the deleted marker, the 10.2.0 purge), a MarkInit branch, the WAL-side floor in
ForeignAlloc (equal to 0 until a purge), and StraddleRetry, CatchUp, CatchUpSkip,
S2Init, SAdmit, SAlloc and SFail, all enabled only by a purge or by the two new
switches. The four Recreate configurations were re-run; no other configuration enables
Recreate, so they are unchanged by construction. The three new ones split the purge
scenarios to keep each under about 15M states locally: the cross-shard straddler needs the
duplicate, and the 10.2.0 purge keeps the leaf's epoch row, so the running activation stays
current without one.
Combinations no configuration covers. The reviewer's clean runs on revision 2 stand
as evidence for now: Mixed+Restart+duplicate on the full instance (31,777,796 states),
own unstamped appends with the self-report (17,459,936), repeated unstamped appends
(8,467,580), and the split claim with a max-merge write under Restart (7,787,173).
The promotion member must add every combined configuration the reviewer named to CI,
on a dedicated or measured TLC shard; nothing from phase 2 reaches main before that
member lands (see Production members).
Mutations: every guard must break
Each mutation was checked against its target alone, with its BOUNDS. The clean arm
of each is the configuration with the same switches, which holds every property
(table above). Traces are the shortest a two-worker breadth-first run found, counted
in states including the initial one.
| Mutation | Removes | Target | Bounds | Trace |
|---|---|---|---|---|
NoTrimPastAckedLiveAdvance5578 |
Everything: #5578's arming rule (born, or within one of the first own append), no claim, no epoch check, no hand-off fence | NoTrimPastAcked |
base | 11 |
NoTrimPastAckedNoEpochCheck |
The shard's epoch check against the entry | NoTrimPastAcked |
base | 18 |
NoTrimPastAckedLazyFence |
The claim raising the entry; the first append raises it instead | NoTrimPastAcked |
base | 18 |
ReadPositionHonestClaimReadableHead |
The allocator head: the claim returns the readable head | ReadPositionHonest |
base | 16 |
ReadPositionHonestNoClaimHeadReplay |
The replay to the claim head | ReadPositionHonest |
base | 16 |
SnapshotHonestNoOwnTracker |
"Every own append applied" | SnapshotHonest |
base | 13 |
ReadPositionHonestNoOpenCheck |
The open-marker guard | ReadPositionHonest |
base | 12 |
ReadPositionHonestRearmWithoutReplay |
The replay to the close heads | ReadPositionHonest |
base | 13 |
ReadPositionHonestCloseHeadUnderstated |
The heads at every partition the initiator wrote: the close records -1 at a partition whose claim a WAL shard restart reset (#5664) |
ReadPositionHonest |
base | 13 |
ReadPositionHonestDrainWithoutFence |
The close's fence; waiting for returns is equivalent | ReadPositionHonest |
base | 13 |
ReadPositionHonestDrainPointOnly |
The stamp on batch appends, so the fence covers point writes only | ReadPositionHonest |
base | 13 |
ReadPositionHonestStampAtAppend |
The stamp at admission; the append carries the current epoch | ReadPositionHonest |
base | 13 |
ReadPositionHonestBulkWithoutHint |
The birth hint | ReadPositionHonest |
base | 6 |
ReadPositionHonestBulkAppendDropsExistingRows |
The relocation of the rows the bulk range already holds (#5610) | ReadPositionHonest |
base | 4 |
ReadPositionHonestRecreateDropsFloor |
The retired floor's raise | ReadPositionHonest |
Recreate | 17 |
StaleEpochNeverAppendsIgnoresRetiredFloor |
The floor check at the claim's raise | StaleEpochNeverAppends |
Recreate | 8 |
OnlySupersededRefusedFloorAtAppend |
The entry-only admission predicate: the floor is checked in it too (revision 4's rule, #5635) | OnlySupersededRefused |
OtherRetire, Ghosts | 9 |
OnlySupersededRefusedFloorInAppendGuards |
The entry-only append guards: the floor is checked beside the predicate, which a definitional property would not see | OnlySupersededRefused |
OtherRetire, Ghosts | 8 |
OnlySupersededRefusedConflictWithoutMove |
The conflict check: an activation stops at its claim although its row has not moved | OnlySupersededRefused |
base | 4 |
ReadPositionHonestFloorFromEntryOnly |
The epoch row in the retirement's floor (#5641): the floor is raised from the entry alone, so a pre-purge duplicate and the re-created incarnation hold the same epoch | ReadPositionHonest |
Recreate | 17 |
ReadPositionHonestClaimAdoptsNoCas |
The epoch row's conditional write (#5593's adopt): two activations write the same epoch, and the second's entry write is admitted as AlreadyDurable |
ReadPositionHonest |
base | 16 |
LiveGenerationAboveFloorRoutingRecreatedAtOne |
The routing floor in the first generation (#5668): the re-created incarnation starts at 1, at or below its own floor, so the WAL refuses its claims (#5697 review N1: distinct from RoutingFloorAfterDeletes) |
LiveGenerationAboveFloor |
Recreate | 4 |
ReadPositionHonestRoutingFloorAfterDeletes |
The floor written before the deletes (#5668): with a crash between, the re-drive reads deleted rows and raises no floor, at the WAL either, so the straddler is admitted | ReadPositionHonest |
Recreate | 15 |
ReadPositionHonestRoutingInitWithoutClaim |
The claim in the re-created incarnation's first initialisation (#5668), after a 10.2.0 purge's catch-up: the entries stay and the running WAL shard's floor is not raised, so the straddler meets its entry above the recorded heads. After a new-build purge the WAL floor refuses it without the claim | ReadPositionHonest |
LegacyPurge | 16 |
ReadPositionHonestStraddlerRaiseRecreatesMarker |
The straddler rule (#5705): a write refused at the routing floor is re-stamped by its seam retry at the floor plus one, which the reload or #5663's raise re-creating the deleted marker gives it, and is re-admitted under the re-created incarnation's generation | ReadPositionHonest |
Recreate | 16 |
ReadPositionHonestRoutingPurgeKeepsMarkerInit |
Rule 2 at the purge (#5668): the deleted marker still reads initialised, releasing a foreign write the open marker held | ReadPositionHonest |
Recreate | 13 |
ReadPositionHonestRoutingWalIgnoresFloor |
The WAL-side floor (#5697 review S1): a cross-shard straddler of a shard root whose re-created counterpart has not initialised is admitted against its retired entry alone, which L's first initialisation did not claim | ReadPositionHonest |
CrossShard | 15 |
ReadPositionHonestRoutingAdoptsPredatingMarker |
The re-seed catch-up after a 10.2.0 purge (#5697 review S2): the re-created incarnation adopts the predating marker, its generation and closes, with no first-initialisation fence | ReadPositionHonest |
LegacyPurge | 15 |
LiveGenerationAboveFloorCatchUpTreeWide |
Per-initiator floors (#5697 review S2): the catch-up raises the floor tree-wide, below another shard root already live at its own floor plus one | LiveGenerationAboveFloor |
Shards | 7 |
LiveGenerationAboveFloorCatchUpRetiresLiveMarker |
The marker's incarnation (#5716): a duplicate activation's catch-up retires the marker the first activation seeded, flooring the generation it still stamps | LiveGenerationAboveFloor |
LegacyPurge | 8 |
StaleEpochNeverAppendsRecreateKeepsLoadedEntry |
Retirement removing the WAL shard's loaded entry: it deletes the rows only, with no append floor check (#5635's condition) | StaleEpochNeverAppends |
Recreate | 9 |
StaleEpochNeverAppendsUnloadedEntryAccepted |
The unloaded-entry rejection | StaleEpochNeverAppends |
Restart | 12 |
StaleEpochNeverAppendsClaimEntryOverwrite |
The max-merge: the claim overwrites the durable entry, checked against the loaded entry only (B3) | StaleEpochNeverAppends |
Restart | 12 |
ReadPositionHonestGenerationNotDurable |
The durable routing-generation entry: a restart resets it (S1) | ReadPositionHonest |
Restart | 14 |
OldNeverRejectedRejectedOnceFenced |
Admitting every unstamped append: the first revision's "reject once fenced" | OldNeverRejected |
Mixed | 6 |
ReadPositionHonestUnstampedNotReported |
Reading past reported unstamped appends before arming | ReadPositionHonest |
Mixed | 12 |
ReadPositionHonestRestartForgetsUnstamped |
The watermark's reset on a shard restart | ReadPositionHonest |
Mixed, Restart | 14 |
ReadPositionHonestNoSelfReport |
An own unstamped append reporting itself (S2) | ReadPositionHonest |
GateFlip | 13 |
ReadPositionHonestResumeWithoutMarker |
The resume opening the marker (B2) | ReadPositionHonest |
LegacyHandOff | 17 |
ReadPositionHonestRangeDeletePerShardClose |
The per-tree range-delete generation: another shard's walk is fenced only by its own shard's close (revision 3's per-shard close) | ReadPositionHonest |
TreeWalk | 13 |
ReadPositionHonestRangeDeleteWithoutIntent |
Stamping a walk only under an open intent: a walk with none is stamped anyway | ReadPositionHonest |
TreeWalk | 13 |
ReadPositionHonestRestampDuringClose |
The intent closed atomically with the close: the close re-claims first and closes the intent and markers later, and the open check reads the marker | ReadPositionHonest |
TreeWalk | 16 |
ReadPositionHonestRestampUnderAnyIntent |
Rule 3: a rejected walk re-stamps under any open intent, not only its own | ReadPositionHonest |
TreeWalk | 15 |
ContestedKeyAgreesStrandedValueKept |
The relocation's last-writer-wins on the owner: it keeps a stranded or skipped value over a later-stamped write made before the switch (10.2.0's stranded origin read) | ContestedKeyAgrees |
base | 7 |
#5578's counterexample. NoTrimPastAckedLiveAdvance5578 reaches it in eleven
states:
InitBeginCreate:a1is born.Duplicate:a2activates beside it.OwnAlloc(a2): offset 0 is assigned toa2.OwnAlloc(a1): offset 1 is assigned toa1.Land(0): offset 0 is durable;a2applies and acknowledges it.Land(1): offset 1 is durable;a1applies and acknowledges it.LiveAdvance(a1):a1is born, so its read position moves to 1, past offset 0, which it never read.Capture(a1): the snapshot's rows are{1}, with coverage 1.GcTrim: offset 0, acknowledged, is trimmed, and no snapshot holds it.
The retired floor straddled (found in revision 3). Splitting the claim opened a
window revision 2's atomic claim did not have. StaleEpochNeverAppendsIgnoresRetiredFloor
shows it in eight states: Begin, Create, ClaimRow(a1) (epoch 1), ClaimWrite(a1),
Recreate (the entry resets to 0; the floor rises to 1), ClaimRaise(a1) (1 is not
below the reset entry), OwnAlloc(a1) (an epoch at the floor appends). The floor
check at the raise closes it.
Redundancy checks
Four guards are kept although the model, with every other guard in place, does not need them. Each was removed alone and the model stayed clean, so each is classed redundant in the model (as for #2321), with the reason it is kept:
| Check | Removes | Configuration | Result | Why it is kept |
|---|---|---|---|---|
ReadPositionHonestArmsWithoutClaim |
The explicit claim guard in Armed |
GateFlip | clean, 171 s | Implied by the self-report: an activation that never claimed has only unstamped own appends, each of which reports itself, so it cannot arm past them. Kept, as the review asked, because arming without a claim is meaningless and the implication depends on every unstamped path self-reporting. |
ReadPositionHonestNoMarkerInit |
The "marker initialised" guard in Armed (B2 rule 2) |
LegacyHandOff | clean, 493 s | Implied by rule 1 in the model, whose only legacy hand-off cannot admit a stamped write before Resume opens the marker. Kept because a resume path the census misses would otherwise read as closed. The model's MarkInit is stronger than production's rule: it waits until no hand-off is in flight anywhere, while production initialises an existing leaf once its shard's flag is set and it has no split in flight as donor, which is weaker for a split sibling. That is safe because rule 1 alone suffices, which is exactly what this clean result shows (review N3). |
OnlySupersededRefusedEtagByValue |
The incarnation in the row's ETag stand-in: the row is compared by epoch value | Recreate | clean against OnlySupersededRefused, ReadPositionHonest and StaleEpochNeverAppends |
In this one-leaf instance no property separates a recurring epoch value from a new write. Kept because production compares the ETag, which a recurring value never matches, and the model should not let a pre-purge activation's compare succeed where production's fails (revision 5 review, S1). |
OnlySupersededRefusedEntryRefusalStops |
The bump on an entry refusal while the row holds (only a floor-only refusal bumps) | Recreate | clean | Since #5641 the floor includes the epoch row, so a pre-purge duplicate's straddling entry write is refused and no entry is left above a held row. Kept because it is the general recovery for such an entry however it arises, and it is production's rule (#5633). |
Revisions 3 and 4 had two more rows, the floor check at the raise alone and at the append
alone. With the append check removed (#5635), the raise check is required, and is the
mutation above. The redundancy checks are committed in redundancy/, in the mutation format with
an EXPECT: clean line, so a re-run does not depend on this note; they are kept out of
mutations/, whose every file must fail.
Reachability: the clean run is not vacuous
Each witness is an invariant that must be violated, with Ghosts = TRUE and the switch
shown, proving its step is reachable. Traces are from a single-worker breadth-first run.
| Witness | Switch | Shortest trace |
|---|---|---|
WitnessStaleAppendRejected |
- | Begin, Create, ClaimRow, ClaimWrite, ClaimRaise (a1), Duplicate, ClaimRow, ClaimWrite, ClaimRaise (a2), StaleAppend(a1) |
WitnessDuplicateAppends |
- | Begin, Create, Duplicate, ClaimRow, ClaimWrite, ClaimRaise (a2), OwnAlloc(a2) |
WitnessForeignAppendInOpenWindow |
- | Begin, ForeignAdmit, ForeignAlloc |
WitnessAdmittedForeignWriteFenced |
- | Begin, Create, ForeignAdmit, Close, ForeignReject |
WitnessLiveAdvance |
- | Begin, Create, ClaimRow, ClaimWrite, ClaimRaise, Close, OwnAlloc, Land, LiveAdvance(a1) |
WitnessLiveAdvanceAfterHandOff |
- | Begin, Create, ClaimRow, ClaimWrite, ClaimRaise, ForeignAdmit, ForeignAlloc, Land, Close, OwnAlloc, Land, Replay(a1), LiveAdvance(a1) |
WitnessDuplicateLiveAdvance |
- | Begin, Create, Close, Duplicate, ClaimRow, ClaimWrite, ClaimRaise, OwnAlloc, Land, LiveAdvance(a2) |
WitnessTrimAfterLiveAdvance |
- | Begin, Create, ClaimRow, ClaimWrite, ClaimRaise, Close, OwnAlloc, Land, LiveAdvance, Capture, GcTrim |
WitnessClaimRefused |
- | Begin, Create, ClaimRow(a1), Duplicate, ClaimRow(a2), ClaimWrite(a2), ClaimRefuse(a1) |
WitnessUnloadedEntryReloaded |
WithRestart |
Begin, Create, ClaimRow, ClaimWrite, Restart, Reload |
WitnessClaimAboveRetiredFloor |
WithRecreate |
Begin, Create, ClaimRow, Recreate, Duplicate, ClaimRow(a2) (the floor now includes the retired row's epoch) |
WitnessUnstampedAppendReported |
WithMixedVersion |
Begin, Create, ClaimRow, ClaimWrite, ClaimRaise, OldAlloc, OwnAlloc(a1) |
WitnessOwnUnstampedReportsItself |
WithGateFlip |
Begin, Create, OwnAllocUnstamped(a1) |
WitnessLegacyHandOffResumed |
WithLegacyHandOff |
Begin, Create, OpenGate, ClaimRow, ClaimWrite, ClaimRaise, Resume, Close, OwnAlloc, Land, MarkInit, LiveAdvance(a1) |
WitnessContestedKeyResolvedToPoint |
- | Begin, Create, ForeignAdmit, ForeignAlloc, Land, Replay: the owner resolves the contested key to a write stamped later than the bulk entry, over the bulk value |
WitnessTreeWalkAllocated |
WithTreeWalk |
Begin, Create, GAdmit, GAlloc: another shard's walk is allocated under L's open marker |
WitnessTreeWalkFenced |
WithTreeWalk |
Begin, Create, GAdmit, Close: L's close re-claims the tree generation and fences another shard's admitted walk |
WitnessTreeWalkRestamped |
WithTreeWalk |
Begin, Create, GAdmit, Close, ForeignOpen, GReject, GRestamp: a walk fenced out by one delete's close re-stamps under a second delete's open intent |
WitnessTreeWalkUnstamped |
WithTreeWalk |
Begin, Create, GAdmit, Close, GReject, GUnstamped: a walk whose intent closed goes on unstamped and reported |
WitnessTreeWalkRestampedOwnIntent |
WithTreeWalk |
Begin, Create, GAdmit, OtherIntentClose, GReject, GRestamp: rule 3's own case, a walk re-stamped under its still-open own intent |
WitnessAppendAtOrBelowOtherFloor |
WithOtherRetire |
Begin, Create, ClaimRow, ClaimWrite, ClaimRaise, OwnAlloc, RetireOther: another leaf's retirement lifts the floor to an epoch a live activation holds, and it keeps appending |
WitnessClaimBumped |
WithOtherRetire |
Begin, Create, ClaimRow, RetireOther, ClaimBump: a floor-only refusal bumps and re-claims |
WitnessRecreatedStraddleFenced |
WithRecreate |
Begin, Create, ForeignAdmit, Recreate, MarkInit: a straddling write of the purged incarnation, still pending, is below the generation the re-created incarnation's initialisation claimed (#5668) |
WitnessCatchUp |
WithLegacyPurge |
Begin, Create, Recreate, CatchUp, MarkInit: the new build's re-seed caught up a 10.2.0 purge's marker and the first-initialisation fence ran |
WitnessCrossShardStraddlerAtFloor |
WithSecondInitiator |
Begin, Create, SAdmit, Recreate, MarkInit: a cross-shard straddler is pending after L has initialised, at its own initiator's floor, before that initiator's re-created counterpart initialises |
WitnessOtherPartitionEpoch |
WithSecondPartition |
Begin, Create, ClaimRow, ClaimWrite, ClaimRaise, OtherPartitionBump: an activation stamps this partition with an epoch a bump elsewhere gave it |
To run a witness, use a configuration with Ghosts = TRUE and the switch shown that
checks TypeOK and the witness alone, for example
INVARIANTS TypeOK WitnessStaleAppendRejected.