The former operator examples named the retired storage HEAD fields remoteLSN and detachedBy and called live state active. Document the current ops chunk show wrapper and exported layout.Head field spelling: Position, ClaimID, empty live State, detached State and Current. The detached HEAD is the stop image; generation is record readout. This supplies the operator contract for the procedure HEAD-view fixture migration. No product behavior changes.
Adding a restore target to the cluster spec means restarting blockmaster.
Serving volumes ride through a restart answered within 10 s; a longer one
is fail-closed (fence at lease end, exit 75, serve again after the barrier,
at least 50 s after the restart), each with the test that shows it. The
start-wait text no longer describes a start that ends before the barrier,
and the operator guide's host-loss step says the returning old host exits
78 and is not restarted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A restore target is listed in the cluster spec with its placement and no
size_bytes, so the restore creates its record with the snapshot's
geometry; an entry with size_bytes creates an ordinary volume and the
restore into it is refused with target_exists. The old host after a forced
move exits 78 (reason=moved) and is not restarted. The started-too-early
gate row is removed (a start now waits through the barrier), and the
headroom test name is updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A restored volume takes no scheduled snapshot until its device has been
read once; a manual one names the source's chunks and cannot be
restored. ops chunk release is a repair step. The lifecycle rules name
one blockmaster per cluster, no restore of its directory from an older
copy, and that a deleted volume's name cannot be created again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restore is created with --master and fills on access (no restore driver,
no background copy); its source snapshot stays a dependent for the
target's life. Fork and template retirement are not in this release.
The documented show, snapshots and snapshot-delete commands get the
required --master.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review amendments (no product change):
- storage: both refusal controls read the chunk's blocks from the extent
file before the refused fill and after it, and require them unchanged;
a fill that installs damaged bytes and then refuses is now red (it left
absent and localBlocks untouched, so the old assertions passed).
- chunkstore cut test: the child's stdout is read to EOF, so an upload
begun during the delay or the kill is counted; CUT-ERR at any point
fails the round; the child must have died by SIGKILL; objects 0..last
(at least the first four) are validated every round (an object never
begun must be absent) and all of them are completed by a new session.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The master test's freshness window is one second; a target report one
second old had already expired, so no report was found at its endpoints.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A guard on hostConfig's LinesNameTheirProcess, the refusal control also
checks nothing is recorded, and the M3 diagram and table state the
adoption guard (the row maps to M2 refresh and M3 adoption).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every read of a pool object already verifies its bytes against the name
twice: the layout reader (ErrCorrupt -> ErrRemoteDamaged) and the
engine's fill (sha256 and size against the HEAD ref). The engine's
refusal was an untyped string; it is now ErrChunkContentMismatch, on the
read-miss fill and on the cut COW fill alike.
Controls:
- storage: a seeded chunk whose bytes are flipped, truncated or extended
is refused with ErrChunkContentMismatch on a guest read miss and on
HydrateAll; nothing is served or installed, and once the remote serves
the named bytes the same reads return HEAD's data.
- durable, end to end over the real layout remote: a chunk captured to
the pool, its blob damaged under the filer entry, a fresh replica
attached from HEAD: the guest read fails with a typed error and never
returns the stored bytes; restored, it reads HEAD's data.
- chunkstore (real filer, chunkstore_integration): a child uploading
pool objects through EnsureObject is SIGKILLed at random points over
many rounds; each object it began is absent or holds exactly the bytes
its name hashes, and a new session completes it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The incarnation source looks up the slot at the ask's endpoints, never
the same replica reported by another host. A production volume adopts
no line that names no process; the target's first report re-issues it
once for that process.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The workspace record writer copies the line's incarnation, so a lease or
journal write no longer erases it before a reload; a queued refresh for
one process is replaced when another reports at the same address; the
RefreshEndpoint transition names the restart case.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A heal, a planned or workspace move or an operator's request names no
incarnation; the publisher records the one the target reports now, so
the promoted process's first report re-issues nothing. The volume's
refusal of a line issued for another process now comes before anything
of it is recorded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A primary restarted at the same epoch and address started its sessions
at 1 while each replica held the dead process's higher one, so every
session was refused as older. The line now records the process it was
issued for (durable); a current primary reporting another process is
re-issued its line at the next endpoint version, and a primary adopts no
line issued for another process.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A volume re-created under the same name is another volume, so a commit's
reference is own only when both the owner's name and id are this
volume's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A restore target keeps or drops its source's references and never gains
one, so a dependency stays one step deep: RunCommit refuses a manifest
that holds another volume's chunk at an index where the previous manifest
did not hold that same chunk.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lane-routing harness gets a store, and the ingress version test
starts from a replica that holds 1..119, so their live entries arrive at
the next LSN.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Its image could not be brought up to date, and the latch clears only on a
completed rebuild: a probe or fencing round answer from it is never
ready, so no promotion (automatic, the operator's failover or a planned
move, each requiring the target's ready answer) can make it primary.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A replica removed and added back with its older store cannot be rebuilt
on v1 (its BASE is still installed). The store now returns the typed
storage.ErrRebuildRetainedBase, the replica listener keeps that refusal
until a rebuild completes, and the volume host reports it on its
heartbeat slot as rebuild_retained_base (ineligible), naming the replica.
The operator guide gives the recovery: wipe the data directory, re-add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Live-ship and recovery session ids came from two process-wide counters;
once the live counter ran ahead, the replica refused every recovery as
older. Each replica now has one order, kept by the volume across its
peers and executors, and every session toward it takes the next id.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The recovery begins with BeginEpochRecovery, so the primary's live
session stays admissible and only the invalid epoch table can refuse its
frames; a recovery begun and ended is the control. The test is its own
package so its sessions do not reorder another test's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The runtime checked --expect-current once, then ran the gate and published
without it: a move landing in between let the stale request move a line
the operator never saw. The reassign now carries the expected line and the
publisher mints only while the volume's line is exactly it (under its
lock); the gate decides on that same line (reachability and the fencing
round are the expected line's, never one read later).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>