Interim merge note (spec trace workflow startup_failure since 22:45Z): docs-only change to the v1.1 release notes on release-1.1. go test (linux) and process-level tests (real binaries) passed on bc83e995; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body (base release-1.1 at a6304c21): both pass. Docs review ACCEPT on bc83e995 (accuracy and public text: no findings).
Interim merge note (spec trace workflow startup_failure on all branches since 22:45Z): branch updated to current main (69c5c6bd); go test (linux) and process-level tests (real binaries) passed on 69c5c6bd; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass (Model line now also cites FormatGate.Report for core/host/master/services.go, mapped since the PR was accepted). Code review ACCEPT on e1ed5073; the 1 TiB loaded first-cut measurement on current main passed on both volume formats.
Interim merge note (spec trace workflow startup_failure on all branches since 22:45Z): go test (linux) and process-level tests (real binaries) passed on cc3a8a6c (run 46997615891); spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass. Code review ACCEPT 6161155789; model review ACCEPT 6161515202 (per-call read/trace follow-up recorded there).
Interim merge note (spec trace workflow startup_failure on all branches since 22:45Z): go test (linux) and process-level tests passed on 7ae34a7e; spec-trace-check.sh and public-text-check.sh run locally against this PR's body and diff on main af07f8be: both pass.
Reuse of an existing object creates, re-stamps or clears the mark,
which is the model's Adopt action; Retake only resets adoption to retry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the file and action rows for PageChain (the snapshot-delete intent
chain and the generic list chain: write page, send, resend, consumer
read/apply/advance/resolve, sweep), StaleClean (the per-object cleaner
against a holder's re-take) and QueueCap's busy-wait path. Docs only;
no code changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cleanup keeps both worker handles in scope: it ends the admitted
write and releases the hold, then joins the hold worker and, if started,
the held extent-write worker, each bounded with a reported timeout, and
closes stop only after the joins.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A cluster-spec import homes a volume both as a placement and as a
topology slot, and a move rewrites neither: the placement branch now
also yields to a line a move minted on another host. The test moves a
volume homed both ways; a control checks the home before any move.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The gate test runs in a bounded child, sees each side reach the contested
boundary (the hold pending on the gate, the new extent write counted as
waiting) before asserting, and releases and joins on every exit. A new red
holds a capture reader without WAL pressure: the barrier must give the
hold up while that reader is still held and report barrier_busy. A new
control fails the held last pass's own sync (a test-only fault seam) and
requires that error, a released hold and extent draining again; the
cancellation control stays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The O_DIRECT descriptor is used only when it is the same file as the
store's descriptor (os.SameFile); a replaced path is never written. The
tests qualify an aligned O_DIRECT write in their directory and fail on
Linux when it is refused, and the flush-fault test registers its cleanup
first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PreSyncRounds, TailBytes, TailOverBound and TailCause join the cut body,
which mirrors the storage cut stats field for field.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
volumesServedBy counted a topology volume's home slot whenever its
replica matched the line, also after a move had minted the line on
another host. A moved line now counts only on its owner; the home slot
counts only for a line no move minted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A guest write waiting at the WAL hard mark holds the capture lock's read
side while it waits for the flusher, and the cut's hold stopped the
flusher until after the barrier took that lock: the write failed at its
admission budget. The barrier now only tries for its lock while the hold
is on (5 ms); at the hard mark, or when the try fails, it releases the
hold first and takes the lock normally, and the cut reports TailOverBound
with TailCause. Before the barrier a held extent write also goes through
while a writer waits at the hard mark.
The hold is now a read/write gate around each extent write and its
count: holdExtentWrites returns only after admitted writes have landed,
so the last pass's baseline misses none. A cut whose context ended in an
unheld pass returns before taking the hold.
Tests: two hard-mark reds and a failed-cut release test in bounded
children, a gate test, bounded writer joins, a deterministic unreachable
bound, and proof that a flusher cycle reached the held pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The model-code trace named only WALHold's fast path and SnapDelete.Send
of the models the next release projects. Add the file and action rows for
FormatGate (finalize, grant, heartbeat level, retire), RecoveryProgress
(fence and replay progress, the stall window) and the WALHold admission
queue (arrive, re-enter, resubmit). Docs only; no code changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TailBytes now runs from the start of the last pre-barrier pass to the
barrier lock, since the pause flushes all of that. A loaded cut right
after a fill, with the flusher draining, did not converge: a flusher
cycle landing in the last pass left the pause about 4 MiB to flush. The
last pass now runs with new flusher extent writes held until the barrier
is released (one pass and the pause; the cut needs the WAL only up to H),
so the pause flushes the guest's WAL tail alone. The flusher waits
before an extent write, holding no store lock, and stops waiting when it
is stopped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At format level 1 and above, each server holding a volume whose process
for it reads below the level gets a volume condition (reason
binary_too_old, with the server and its report level): its holder only
sees no assignment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each 1 MiB fence slice writes its aligned bytes O_DIRECT (Linux, where
the filesystem allows it) and is fdatasynced before it counts as
recovery progress, so a fence on a shared, capped disk no longer waits
behind other writers' page writeback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A held volume whose process has been silent past the freshness window is
listed by the finalize (stale report); the grant and placement checks
still read the kept entry and refuse an old one. The restart test keeps a
sibling process at level 1 so the grant cannot borrow its report.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pre-barrier sync repeats until the store-file bytes dirtied during
its last pass (WAL appends and extent writes) are at most a named bound
(1 MiB), at most 6 passes and while the cut is live; past the last pass
the cut proceeds and reports the tail above the bound. LastCut reports
PreSyncRounds, TailBytes and TailOverBound.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first loaded cut after a fill paid the fill's write-back in its one
pre-barrier sync, and what the guest wrote meanwhile became the pause's
own sync work, growing with the fill. The pre-barrier sync now repeats
while a round takes longer than 10 ms (above one device flush), at most
6 rounds and while the cut is live: the pause then flushes only about one
short round of writes, whatever the fill. Status reports the rounds
(LastCut.PreSyncRounds).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A holder that restarts on an old binary adopts no line issued for its
dead process, and the re-issue for its new incarnation is refused at the
publication boundary (binary_too_old): the line keeps naming the dead
process. The control restarts on a binary that reads the level and gets
the line re-issued.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The finalize is refused only while a live report of a process holding a
volume reads below level 1. A held volume with no report, a host with no
report and an old process holding no volume are listed in the answer
(FinalizeFormatResponse.unconfirmed, and unconfirmed.<id> metadata on a
refusal) and in --json as listed; they do not block. The durable last
level and its marks are dropped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The holder's maintenance now consumes a published delete intent, so a
delete behind an earlier one resumes once its intent is consumed. The
model-code trace keeps both sides' new rows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
node-a's level write failed during the window too, so it stayed unkept and
the final finalize rightly refused it; its next heartbeat now keeps it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>