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 forced move to another holder after a blockmaster restart is refused
until restart + TTL + skew, even after the old lease's expiry plus skew has
passed; the same live holder renews at once. Pins the restart rule
(authority.go load) together with the forced barrier.
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>
* webhook: send the bearer token only to the configured endpoint's host
A redirect to another host or port, or from https to http, now gets the
request without the Authorization header.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* webhook: test the token scope across redirects
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* webhook: compare effective ports when scoping the token
An omitted default port and an explicit :443 or :80 are the same
endpoint; http on port 80 upgrading to https on 443 keeps the token.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
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>