The primary's peer answer alone cannot tell a replica that never caught up
from one that never answered; the failure now carries r2's and r3's logs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RenderBlockVolumeDeployments refuses smartwal and parallel-walstore through
durable.RemovedEngineName, wrapped with %w, so callers get the same
*durable.RemovedEngineError (engine, advice) as from the provider and
blockvolume, and no manifest. blockmaster already depended on the durable
package through its other imports; nothing is added to its build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ledger row promises a typed refusal from the Kubernetes launcher as
from the provider and blockvolume. The control now requires errors.As on
*durable.RemovedEngineError with the engine and the advice, and no
manifest rendered; it fails here (the launcher returns plain text).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replacing section 1.3 also deleted the sections after it (1.4 Durability
and Sync, 1.5 Authority, 1.6 Replication and failover) and the 1.7
heading; they describe walstore and the shipped protocols, not the removed
engines. Restored verbatim from main; only 1.3 changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Its only change was a comment naming the removed engine; the file is mapped
to model actions, and a comment edit is not one of them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The provider refuses the removed names and, under every selector and
before any selector comparison, a volume carrying their magic (SWAW;
SWPW in either header slot), reading the file read-only and never
modifying it. blockvolume --durable-impl and the launcher refuse the
names with the same advice; the chart schema allows walstore only.
- core/storage/smartwal, core/storage/parallelwal and
cmd/sw-block-testutil (whose one command corrupted smartwal records)
are deleted, with the helm smartwal-corruption scenario and the
parallel-walstore gate script.
- The replication harness runs on walstore; tests that ran on a removed
engine only because a stub needed some store move to walstore, and the
state_convergence label test moves to the in-memory BlockStore.
- sw-block cluster.check drops the removed engines' cases.
- Ledger: INV-OPEN-REMOVED-ENGINE-REFUSED-001 and
INV-OPEN-REMOVED-ENGINE-NAME-REFUSED-001, an OpenRefused edge in M1, and
the rows citing the removed tests updated. Docs: block-design 1.3 now
describes the removal, the smartwal deep-dive and figure are gone, the
scripts default to walstore, and the v1.1 notes carry the removal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.1 removes the experimental engines smartwal and parallel-walstore. These
controls fail on main, where both still open:
- a volume carrying a removed engine's magic (SWAW; SWPW at offset 0, or
only at 4096 when the first parallel-walstore header is torn) is refused
with the typed RemovedEngineError under the auto and the walstore
selector, and the file stays byte-identical;
- the removed names are refused typed by the provider, by blockvolume
--durable-impl, and by the Kubernetes launcher.
The seam adds the error type and its advice ("created by a removed
experimental engine; copy the data to a walstore volume with v1.0.x
first"); RemovedEngineName refuses nothing yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A stuck worker or a Close that never returns is a prompt test failure at
the child's bound, with a control that leaves a worker stuck; the Close
worker is joined on every path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- a page is stamped with the position its content includes, and the WAL
is synced through it before the page is written (the header's G too)
- the write's version bump and its applied position move under the
record's lock, together
- every fill holds its chunk (A or P on the page) until one mark round
makes the blocks durable in the store's bits; a later write keeps it
- an evict writes the page holding the chunk before the bits clear, also
on a retry that finds the chunk absent in memory
- the concurrency tests bound every wait and join their workers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- attach calls upgradeChunkRecord (presence saved first for a fresh attach)
instead of a second upgrade: log-only writes are seeded, a marked store
is rebuilt from its bits, never from engine state
- a page's position is clamped to the last completed WAL sync, and a
clean stop syncs the WAL before its final pages
- the attach refuses if the store closed while the upgrade had released
its barrier
- an evict clears the store's bits only after its absent page is durable;
fill-mark batches and evicts are serialized (markMu)
- a marked store never parses a leftover .chunkpresence
- a final page failure is the result of the layer's and the store's Close
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The HEAD entry's conditional keys are swb.layout.gen and swb.layout.volume,
written by LayoutStore.UpdateHead; the integration tests named in the
workspace design were replaced by the layout ones. The manifest perf test
no longer exists, so its command is removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The draft v1.1 store format runs only in lab builds and in this package's
tests (chunkV11Format). The mutation hook passes the write's store
position, so the chunk record knows the position through which it has
applied every write.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>