From 95d40236a131d0a722193e306e72aa1ac488df7d Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 29 Nov 2026 03:23:24 -0800 Subject: [PATCH] docs(invariants): the C.L attach row names the counting test and the per-fetch rule Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/design/invariants.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seaweed-block/docs/design/invariants.md b/seaweed-block/docs/design/invariants.md index 3c8f05b9e6..7d92470549 100644 --- a/seaweed-block/docs/design/invariants.md +++ b/seaweed-block/docs/design/invariants.md @@ -1186,7 +1186,7 @@ One row per fixed time limit on a volume's path that surrounds, or once surround | 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 | one object fetch; the fetch count grows with the volume (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 | STUB: joint recovery+attach qualification pending; tests `TestAttachManifestReadBoundsEachFetch`, `TestAttachRemoteCallsCarryTheirOwnBound`, `TestAttachManifestReadCarriesThePerFetchRule` | +| `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 | 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.