From 0aa4cf8621073b4dc045e02ba5a2502d9372640e Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 29 Nov 2026 04:23:50 -0800 Subject: [PATCH] docs(invariants): the recovery and attach C.L rows, both ACTIVE The shared progress window's two rows as reviewed on the recovery and attach pull requests (the recovery half's code and the attach half landed together on main); the joint recovery+attach Linux qualification passed, so both read ACTIVE. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/design/invariants.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seaweed-block/docs/design/invariants.md b/seaweed-block/docs/design/invariants.md index d6470a519f..e00a0be09b 100644 --- a/seaweed-block/docs/design/invariants.md +++ b/seaweed-block/docs/design/invariants.md @@ -1206,8 +1206,8 @@ One row per fixed time limit on a volume's path that surrounds, or once surround | `DurableProvider.chunkCutContext` (`ChunkCutTimeout`) | 5 min per attempt | staging the changed chunks, the check, the commit | yes | uploads finished by an attempt are kept; the next attempt uploads only the rest (same process) | `TestACutAttemptThatRunsOutOfTimeLeavesUploadsTheNextAttemptKeeps` | | the cleaning pass (`boundedPass`) | the configured pass limit | listing and removing by page | yes | the pass resumes at its cursor; a session after a restart starts at the root page | the cleaning cursor's tests | | `core/host/volume/chunk_control.go` `chunkContext` (a chunk control operation: a cut, a snapshot or a detach, each of which takes a cut; the chunk status read also runs under it and reads one HEAD) | 5 min, or the request's shorter limit | the operation, including the cut it takes | yes | the cut's uploads, as the cut's row: an attempt that runs out of time keeps what it uploaded | STUB: no test at the control operation's level yet | -| `core/host/volume/recovery_watchdog.go` (`--recover-timeout`), over `cmd/blockvolume/durable_startup.go` `openAndRecoverDurable` and the chunk layer's attach | 30 s without a new completed-work frontier, shared by recovery and attach | bounded local reads and final fence/publication; no total context around the per-entry recovery | the WAL scan, map copy and retained replay grow | a cumulative fixed-order phase/count high-water mark; repeated preparation cannot renew the clock; attach retries retain completed local recovery | `TestDurableStartup_LocalRecoveryWorkIsOutsideFixedDeadline`, `TestRecoveryMapCountsOneTiBEntriesWithoutATotalDeadline`, `TestRecoveryProgress_CountingEntriesOutliveTheTotalWindow`, `TestRecoveryReporterSlowReplayReportsBeforeTheEntryBatch`, `TestRecoveryProgress_RepeatedAttachPreparationDoesNotRenew`; STUB until attach-side retry integration and Linux qualification pass together; no 1 TiB time claim | -| `core/frontend/durable/provider_chunk.go` `chunkAttachTimeout` | 30 s around each remote call of an attach (the attach check, the layout Start, the root fetch and each segment fetch of the manifest read), never around the attempt | each object fetch bounded; the fetch count grows (27 segments at 1 TiB); judged by the window | **yes** (the fetch count) | each completed segment and the attach's local entries report RecoveryAttach, per attempt from zero, under the shared window above | `TestAttachReportsItsVolumeSizedLocalWork` (the counting test, 262144 entries), `TestAttachManifestReadBoundsEachFetch`, `TestAttachGetHeadBoundsTheHeadRead`, `TestAttachRemoteCallsCarryTheirOwnBound`, `TestAttachManifestReadCarriesThePerFetchRule`, `TestAttachProgressCountsEachAttemptFromZero`; STUB until the joint recovery+attach Linux qualification passes | +| `core/host/volume/recovery_watchdog.go` (`--recover-timeout`), over `cmd/blockvolume/durable_startup.go` `openAndRecoverDurable` and the chunk layer's attach | 30 s without a new completed-work frontier, shared by recovery and attach | bounded local reads and final fence/publication; no total context around the per-entry recovery | the WAL scan, map copy and retained replay grow | a cumulative fixed-order phase/count high-water mark; repeated preparation cannot renew the clock; attach retries retain completed local recovery | `TestDurableStartup_LocalRecoveryWorkIsOutsideFixedDeadline`, `TestRecoveryMapCountsOneTiBEntriesWithoutATotalDeadline`, `TestRecoveryProgress_CountingEntriesOutliveTheTotalWindow`, `TestRecoveryReporterSlowReplayReportsBeforeTheEntryBatch`, `TestRecoveryProgress_RepeatedAttachPreparationDoesNotRenew`, `TestAttachProgressCountsEachAttemptFromZero` (attach integration); joint recovery+attach Linux qualification passed; ACTIVE (landed together); no 1 TiB time claim | +| `core/frontend/durable/provider_chunk.go` `chunkAttachTimeout` | 30 s around each remote call of an attach (the attach check, the layout Start, the root fetch and each segment fetch of the manifest read), never around the attempt | each object fetch bounded; the fetch count grows (27 segments at 1 TiB); judged by the window | **yes** (the fetch count) | each completed segment and the attach's local entries report RecoveryAttach, per attempt from zero, under the shared window above | `TestAttachReportsItsVolumeSizedLocalWork` (the counting test, 262144 entries), `TestAttachManifestReadBoundsEachFetch`, `TestAttachGetHeadBoundsTheHeadRead`, `TestAttachRemoteCallsCarryTheirOwnBound`, `TestAttachManifestReadCarriesThePerFetchRule`, `TestAttachProgressCountsEachAttemptFromZero`; joint recovery+attach Linux qualification passed; ACTIVE (landed together) | Known limits of this table: what an attempt keeps is kept in the memory of one process. After a restart the cut uploads again what it cannot prove was uploaded; names are by content, so this costs time and no correctness.