The restore page now names restore_source_not_own for a snapshot of a
restore target; a v1.0.1 release note lists both codes and calls out that
an unknown volume moves from bad_request (exit 2) to volume_not_found
(exit 1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The regression row C.4 asks for: the chunk CLI's restore_source_not_own
(from the master's typed reason) and volume_not_found, with their tests;
the refusal itself stays INV-CREATE-ONE-IDENTITY-001's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The master's refusal of a restore whose snapshot names another volume's
chunks carries a typed reason (an ErrorInfo detail, RESTORE_SOURCE_NOT_OWN)
and the CLI maps it to its existing JSON code restore_source_not_own
instead of the generic not_admitted. A volume the master does not know
(NotFound from the resolve) exits with volume_not_found. A client decides
by these codes, never by message text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A holder whose own grant ran out while the stored horizon is still ahead,
and a live holder renewing at the same epoch, are granted at once, also
right after a blockmaster restart while they renew within the lease TTL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page said the refused request still binds the target's name; a restore
refused for good removes its pending record, so the name stays free and a
restore from the source's own snapshot may use it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A live holder inside its lease renews at once after a blockmaster restart,
at the same epoch; the floor of 30 s plus the skew after the restart applies
only to an expired lease's re-grant and to a forced move.
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>