Formal impact

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 formal-impact.md, and llms.txt lists every page.

Part of Live checkpoint advance: fenced redesign.

Every existing module, how the design affects it, and why:

Module(s) Effect Reason
WalDurability Unchanged; gains a gap entry Its subject is the replay-based advance, which the design keeps as the fallback. Its single owner activation is always the current epoch, so Append never meets a rejection. Extending it would add an activation dimension to every leaf: SnapshotLoss is already 17,428,938 states and TwoFaults 2,958,083, so the fences go in the companion instead.
WalMove Refinement row only The entry, floor and generation rows live in grain storage, not in the stream a move switches, so a move carries nothing new. The cutover's reactivation of the shard grain is Restart here, covered by StaleEpochNeverAppends (broken by StaleEpochNeverAppendsUnloadedEntryAccepted and StaleEpochNeverAppendsClaimEntryOverwrite), the durable generation (ReadPositionHonestGenerationNotDurable) and the restarted watermark (ReadPositionHonestRestartForgetsUnstamped).
WalPinRetirement New rows Retiring a leaf's pins also retires its epoch entries under the same retirement token, raising the floor first. A re-created leaf's claim exceeds the floor, and the floor is checked at the claim's entry write and raise (never on an append, #5635), so a removal cannot let a surviving duplicate or a straddling claim outrank it.
TreeLifecycle, TreeLifecycleAdmission New rows The purge tail retires the entries of the leaves it clears, under the lineage check (#5417), raising the floor first, and deletes their epoch and marker rows. The tree's purge also retires its per-tree fence rows after max-merging their highest generation into the tree's routing floor (#5668).
ShardOwnership, ShardOwnershipCutover, ShardOwnershipFold, ShardOwnershipCrdt, ShardOwnershipRetention New rows or gaps The adaptive split's and the shard fold's shard-level markers open around their windows (or at their resume, for one in flight across the gate) and close with a routing-generation re-claim. A marker only holds the live advance and never blocks a move, a cutover or a fold, so ownership safety is unchanged. A write rejected at a close is re-admitted at its seam.
SplitLink, SplitLinkTurns, BPlusTopology, BPlusReclaimRecovery, BPlusCascade New rows or gaps The split opens the sibling's marker in its birth (or at CompleteSplitAsync's resume), and the donor closes it at completion after re-claiming its epoch. That is one more call, made from the donor's completion; it waits on the WAL shard, not on another leaf. The reclaim opens the survivor's marker before widening, and retires the neighbour's entry in the retire step.
SplitGateCycles, TurnOccupancy New rows A leaf's fresh read of the shard-level marker is a new leaf-to-shard-root wait-for edge. It is an interleaving, read-only call, so a serial shard-root turn that calls the leaf cannot deadlock against it. Both modules gain a row stating that the edge does not take the shard root's serial turn.
BackupRestore, the bulk-load paths Rows A restore and an offline snapshot load through BulkLoadRawAsync, so their leaves take the birth hint (persisted in _lattice_shard-handoff), the open marker, the relocation of existing rows and the switch's fence.
ReplayPermits, WalGcStarvationDrive, WalGcStarvationDriveWitness, MaterialiserDrain Demand abstraction only The design lowers replay demand. These modules bound permits and drives for any demand, so their properties are unaffected. Their notes gain a line that live-advanced leaves no longer drive.
WalAdmission, WalBackPressure Gap entry A stale-epoch or fenced-out rejection is a new internal append outcome, distinct from admission refusal under load and retried at its seam. It fails one stale or pre-close writer, never a saturated partition, and an unstamped append is never refused. So the admission and back-pressure properties are unaffected.
AtomicCommit, AtomicCommitCrossCluster Unchanged; rows restated A prepare rejected by a fence is retried by the participant under its current stamp, never turned into a nack, so the saga's outcome is the one 10.2.0 reaches. A coordinator terminal carries the terminal stamp class, admitted and excluded from the watermark; safety holds through the leaf-wide prepare clamp: the current activation does not advance while the prepare is pending, and it learns the terminal by replaying the coordinator's record. BroadcastStep assumes only eventual delivery.
SagaReadProgress, TagIndexReconcile, ReplicationShipping Unaffected They consume accepted WAL records, which are unchanged; a rejected append never becomes a record.
AntiEntropy; Replication, ReplicationCausalDelivery, ReplicationLowWatermark, ReplicationReBootstrap Unaffected They consume accepted WAL records, whose shape is unchanged: range deletes are fenced, not clipped. A rejected apply is retried below the dead-letter accounting.
MaterialisedView*, view-* modules Unaffected Views read accepted WAL records only, unchanged.
AliasRevert, AliasRouting; Schema*, SchemaViewComposition; TenantIsolation, TenantFootprint, TenantQuotaEvaluation, TenantTreeCount, TenantRateBudget Unaffected Routing, schema and tenancy decisions are made before a write reaches a leaf.
BackupCapture, BackupCutover, BackupIncremental, BackupProvenance, BackupRetention Unaffected They read accepted records and leaf state.