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>
Change rule 7 and table C.L: one row per fixed time limit around work that
grows with the volume, with what runs inside it, what runs outside it under
progress, and its test; three start-path and control rows are STUB until
measured. The unchecked commit is a stated gap kept true by a guard that
classifies every HEAD commit site of the chunk layer and requires the
object check before the cut's commit. Comments at the commit step's lookups
and at the HEAD bound's default mode.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first attempt is ended both by a real context deadline and by a cancel,
and must return within a bound. The next attempt's HEAD is read back: every
one of the 262,144 chunks named with its written bytes, the frontier, and
every chunk the first attempt uploaded; a control drops one of those and is
refused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The check only reads the PR description and the changed-file list. On the
self-hosted runners it waited behind full test jobs for over an hour and held
back merges whose tests had already passed. Hosted jobs in this repository
start within about a minute.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At 262,144 changed chunks, a cut whose context ends after a third of its
uploads leaves HEAD unchanged; the next attempt uploads only the chunks not
yet uploaded and sends none again. Fails when uploads are not remembered
across attempts (the next attempt uploads all 262,144).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>