The unit ladder's dying cut retried its failing uploads until a context it
shared with the restarted process expired; it now has its own short
context. The procedure test proves the kill landed mid-upload (new chunk
objects on the filer, HEAD unchanged) and otherwise adapts the delay and
repeats with a new image. The fresh-root test kills once 8 writes are
flushed, so the reader is still filling.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Single-volume coverage gap 2, procedure part (cells P8.7, P9.4, P11.3;
V1-SPEC r2.55): image A is cut, every block rewritten (image B), and the
holder SIGKILLed half-way through the second cut. After the restart HEAD
verifies whole at depth data, the volume reads B, and the next cut,
restored into a new volume through a snapshot, is B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Single-volume coverage gap 2, unit part (cells P5.4, P6.4, P8.7, P9.4,
P10.4, P11.3; V1-SPEC r2.55): a cut dies after admission, at the barrier,
during the upload, before the HEAD CAS and after the CAS applied (before
its reply). The process death closes the store without cleanup and loses
every later remote call. After the restart HEAD is whole (old before the
CAS, new after it), every synced local write reads back, and the next cut
publishes the volume as it is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Single-volume coverage side finding (c) (V1-SPEC r2.55):
walstore_sticky_fsync_test.go, walstore_midhistory_hole_test.go,
walstore_checkpoint_crash_linux_test.go and walstore_checkpoint_safety_test.go
held only helpers or constants with no caller (their tests were retired
with format v2; docs/design/format-v3-legacy-test-inventory.md lists them
and their v3 replacements). walstore_recovery_hardening_test.go keeps its
one used helper, crashRecoveryHardeningStore. A comment that pointed at a
deleted file is removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Single-volume coverage gap 1, cell A3.5 (V1-SPEC r2.55): after a clean move
to s2 (fresh root, lazy hydration), a reader walks 60 chunks that only HEAD
holds while a writer streams Flush-acknowledged writes into other chunks;
s2 is SIGKILLed mid-walk and restarted at the same epoch; every source
chunk must read back (fills redone) and every acknowledged write survive.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Single-volume coverage gap 1, cell A2.4 (V1-SPEC r2.55): a qd1 NVMe/TCP
writer streams distinct blocks with a Flush every 8 writes; the holder is
SIGKILLed mid-stream and restarted inside the lease at the same epoch;
every Flush-acknowledged write must read back, and what survives past the
last acknowledged Flush must be a prefix of the stream, untorn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
V1-SPEC r2.53. The rung polls the master's view of every source volume's
replica each second (GetVolumeStatus) and records each span the master does
not observe it, epoch changes and frontend-not-ready polls; it counts the
master's per-slot "heartbeat superseded" lines per volume. Pass rule: zero
slot expiries.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
V1-SPEC r2.49/r2.52. Opt-in (F1_RUN=1, a large test, never in CI): N
blockvolume processes under ONE server id, each its own replica id and
ports, snapshotted at the same instant per round under write load; every
snapshot restored and verified (ledger exact, load a prefix); the JSON
report carries cut time and barrier pause, client write p50/p99/max inside
and outside snapshot windows, request-to-commit time, host-slot waits,
restore time, chunks/bytes uploaded, filer entries per round and RSS. The
procedure harness's bvHost gains optional server and replica ids.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ladder's blockvolumes run with --chunk-capture-interval 0 and
--chunk-snapshot-schedule off, so A2 counts only its own snapshot's
uploads. A1, A2 and A4 also read a block in an untouched chunk and the
volume's last block through the restore. A3 runs three snapshots that start
after 0, 40 and 120 of their writes, logs the prefix each holds, and fails
as inconclusive if every one landed before or after all its writes. The
header says an A test never deletes a snapshot or runs GC.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A3: blocks written one after another while snapshot 2 runs; its restore
holds a prefix of those writes (one point in time) and snapshot 3 holds
them all. A4: one block holds A, B, then A again with a snapshot after
each; the three restores read A, B, A.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A1: one block written, one snapshot, the snapshot read back block by
block holds that block and zeros around it. A2: an incremental snapshot
holds the volume at its point, the first snapshot is unchanged, and the
second snapshot uploads only the two chunks that changed. A snapshot is
read through the product's own path, a restore into a new volume, so the
tests do not depend on the chunk format. The procedure harness gains
restore-target volumes in the cluster spec, each on a node of its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A line starting with "<<<<<<< " or ">>>>>>> ", or a line that is exactly
"=======", in docs/design/invariants.md or the lists invcheck reads fails
the test with its file and line. The marker check is pinned on a fixture
that holds a conflicted region and two look-alikes it must not report.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>