- Within an attach, GetHead's HEAD read and a crashed-session rollback
carry the per-fetch bound like each manifest fetch; a stalled HEAD
read fails the attempt.
- The created-this-start scan reports every inspected entry, not only
candidates (a dense HEAD reports too); the presence save reports its
key preparation; the manifest conversion reports in batches of 256.
- The stalled-fetch tests have their own outer deadline, so a removed
bound fails the test instead of hanging the suite.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- GetHead is not one remote call: within an attach it carries the
per-fetch rule (storage.AttachFetch), and the layout remote reads the
root and each segment under chunkAttachTimeout on its own, reporting
each completed segment through the attempt's progress. No bound wraps
the read as a whole, whose segment count grows with the volume.
- The attach reports its local work as it completes: the HEAD copy, the
absent marking, the created-this-start scan, the presence load and
the attach's presence save; the batcher also reports the first
completion and about once a second (completed work only).
- The ledger row names the attach tests; the C.L row states the per-fetch
bound and keeps the joint qualification pending.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The attach's volume-sized local loops (the HEAD copy, a fresh host's
absent marking, the presence load) report completed entries as
RecoveryAttach through the host's recovery progress callback, in batches
of 256. Each attempt counts from zero, so a retry that redoes the same
work never moves the host's high-water mark. The fixed 30 s bound moves
from the whole attempt to each remote call (the attach check, the layout
Start, the layer's remote reads), so a large attach is never cut off
mid-way by it and redone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A cut's parallel uploads share one Reader, and its volume id cache was a
plain map read and written without a lock: a data race under -race. A leaf
mutex now guards the map, held only around its read and write, never across
a fetch. The abort test's blocking store no longer writes its channel field
from the commit's goroutine while the test reads it; a sync.Once holds the
first commit instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The online create command is on main. A restore into a new volume inside a
mini trial is refused because mini's blockmaster admits only the volume in
its one-volume cluster spec while its product loop is off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The usage text said snapshots and restore work at once with weed; a restore
into a new volume needs the standalone setup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The quick start said snapshots and restore work at once with weed; a
restore into a new volume needs the standalone setup, as the README says.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The maintenance loop reads the fake store and bumps the pass counter on its
own goroutine while the test changes them; under -race both tests failed.
The store is guarded by a mutex and ReadHead returns a copy of its snapshot
map; the counter is atomic.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull requests queued for over an hour behind three self-hosted runners while
GitHub-hosted runners, free for this public repository and already used for
fork PRs, start within about a minute and run many jobs in parallel. Pushes to
main keep the self-hosted tp04 runner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A re-proposal after an unknown outcome runs the commit check again before
its CAS; the check forgot the kept commit first and looked up every object
again. It now returns at once for exactly the checked commit in its still
open session, the same match the CAS uses to reuse the preparation. The
re-proposal test counts every lookup, not only those inside the CAS.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A detach's cancellation and an unresolved cut's re-proposal now run the
object check before their CAS, as the cut's commit does. The cancellation
adds no chunk, but its new root's segments and root were looked up inside
the HEAD step's fixed limit. The guard requires the check before every HEAD
commit site and lists no exemption; the fixed-limits row names it and the
cancellation's control.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>