- The NVMe initiator renews its deadline (nvmeIODeadline, 60 s) before every
I/O command, so it bounds each command instead of the connection's whole
life: requireBlocks' 65,536 reads no longer race one dial-time deadline.
- reviewBindingHostBeforeStart's context is a hang guard for the whole test
(60 s, was 10 s), so a slow host's setup does not use up the time the
later calls and the successor probe need.
TestNVMeInitiatorDeadlineBoundsEachCommand and
TestWorkspaceRPCSameHostForcedRecoveryOutlivesASlowSetup pass; test-only,
no product change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two tests fail on a slow host while CI passes (a WSL run with its scratch
on a mounted Windows drive). Both fail because a fixed bound in the test,
not the product, runs out:
- TestWorkspaceRPCSameHostForcedRecoveryRecordsLoss: the successor probe and
the later calls run under reviewBindingHostBeforeStart's 10 s context, and
a slow setup uses it up ("signal: killed"). The new
TestWorkspaceRPCSameHostForcedRecoveryOutlivesASlowSetup pauses 11 s
before the probe (both clocks the test reads are fake, so no lease
changes) and fails on main on any host.
- TestCutoverWriteSnapshotKillRestartRestore: the NVMe initiator sets one
deadline at dial (60 s) and requireBlocks then reads all 65,536 blocks on
that connection. The new TestNVMeInitiatorDeadlineBoundsEachCommand shortens
the deadline (now the variable nvmeIODeadline) to 2 s, idles 2.5 s and
reads one block: it fails on main on any host.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ops chunk verify does not read the v1.0.0 volume directory layout: on a
healthy volume it reports a missing VOLUME, or (by its full name) false
identity findings. Remove its steps and claims from the guides and the
README, and state the limit in the release note.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
countingRemote.Put updated its counts and seen map with no lock while
the chunk layer's upload workers call Put in parallel; a main run aborted
with "concurrent map writes". The counts are now under a mutex, and the
read of the upload count inside the cut is too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The untested replica wipe needs a --durable-root that holds that volume
only: the data files' names can match another volume's in a shared root.
It removes the data files and the epoch table and keeps the replica floor.
Exit 75's causes are examples, assignment_timeout added. The blocked reads
with kernel defaults are 552 s and 614 s as recorded; the slowest guest
answer during a store outage was measured once and its record not kept.
The cut's ~30 s answer is the chunk upload deadline.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removed GC and --grace text replaced by the holder's cleaning; the replica
wipe scoped to that volume's own files; outcome_unknown on a restore
target's delete means I/O stopped until settlement; the recovery point is
the last successful snapshot, not a one-day bound; snapshots above about
150 GiB changed need several requests and the schedule retries by itself;
Kubernetes timings scoped to NVMe/TCP; exit 75's causes; the restore CLI
row; the per-cut metadata depends on the volume name length; connection
age with gRPC jitter; the cluster-spec identity cure needs a restart;
throughput and memory figures qualified; the upgrade wording.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxNewVolumeBytes is 256 GiB (65,536 chunks of 4 MiB), derived from the
measured number of chunks a commit checks within one 2 s update of HEAD,
halved and rounded down. The release note states the limit, why, that a
restore target takes its source's size, and that it is planned to be
removed in 1.0.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The three servers' port pairs were picked together before the master
started, and the filer binds its pair seconds later; a listener that
appears in between (another job's weed on the same host) took the filer's
gRPC port. Each pair is now picked right before its server starts. A
cluster with a fault-injection filer front gets the same fresh-ports
retry: its front is built again on each start's ports.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CreateVolume and the cluster-spec start check refuse a new volume above
geometry.MaxNewVolumeBytes with ErrVolumeTooLarge, naming the size and the
maximum, before any record or store exists. The check is at creation
only: a volume that already exists keeps opening under the uint32-LBA
limit. The value is a placeholder (MaxVolumeBytes) until it is set from
the measured capacity limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A scheduled snapshot or periodic cut refused because an earlier HEAD
commit's outcome is unresolved logged only the raw error. Every later
cut, snapshot and detach of the volume is refused until that settles,
so the line now names the state (PendingUnresolved), its cause and the
cure, once per attempt, never per write.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tests and ledger only; the product code is byte-identical.
- The cap oracle is the literal 32 (a 32 -> 64 change of the constant
fails it: 64 in flight).
- Every wait is bounded, and each control's cleanup opens its gates,
cancels and joins the commit, so a failing control returns promptly.
- The cancel control holds every admitted lookup past the cancellation
until the test opens their exit: a commit that returns before that did
not join them (a removed-join mutant fails), HEAD takes no update, and
a keep-admitting mutant starts 502 lookups.
- The order control holds the earlier lookup until the later failure has
fully returned and nothing else is in flight (a first-to-finish mutant
fails both ways).
- invariants.md: the wait rows name the caller-held LayoutRemote.mu
(CASHead, CommitPendingSnapshot).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tests only, plus the ledger; the product code is unchanged.
- TestCommitLookupsNeverExceedTheCap: every lookup is held until the cap
is reached; no 33rd starts (a cap-33 mutant fails it).
- TestACancelledCommitStopsJoinsAndWritesNothing: cancelled before any
lookup and mid-flight, the commit returns within a bound with no lookup
still running, admission stopped and HEAD not written (a mutant that
keeps admitting after a failure starts 502 lookups and fails it).
- TestTheEarliestFailureByPositionDecidesTheError: of two failures the
earlier position wins, whichever finishes first (a first-to-finish
mutant fails it both ways).
- invariants.md: the admission and join waits of allOwnedBySession in
C.W, and the scale, detach and control tests on
INV-SNAPK-COMMIT-REACH-001.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>