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>
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>
Sampling r1's epoch and then waiting for that exact epoch failed when a
further round moved it in between. waitRejoinConverged polls until r1 is a
healthy primary at some epoch e >= 2 and r2 and r3 are healthy peers at the
same e, read in one pass, and returns e.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- the scratch-cut exemption holds only while the chunk keeps the version
the scratch cut captured; a stale capture grants nothing
- TestMain has no switch that turns the strict findings off
- the raced-fill test bounds every wait and always releases and joins
its reader
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After its 6 s pause the resumed primary can answer the promotion gate's
probe not ready on a loaded host; the gate then runs one more fencing round
and continues r1 at the next epoch. The test waited for healthy peers at
epoch 2 only and failed (run 46515001535: r2 and r3 healthy at 3). It now
waits for both replicas healthy at r1's current epoch (at least 2), checks
that r1 is still the primary and that no replica was promoted, and reads
blocks A and B back; a further round is logged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bitmap is pinned block by block (the file's local block, a single and a
batch log suffix, their non-local neighbours). The crash before the fence is
the injected one at the first slot write, with the pages complete, no
header and the presence file there at that point; a crash after the fence
and before the header completes on reopen; a retry over a complete record
writes no page, no header and no descriptor slot (file identity checked).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A store marked at this epoch is never seeded from the presence file: a
complete record only has the file removed, an incomplete one gets its pages
again from the store's bitmap through the boundary's same-epoch retry, with
a seed that refuses. A store marked at another epoch is refused, typed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two reds: a completed upgrade with a damaged header re-reads the presence
file; an upgrade at another epoch than the store's marker is taken.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After Recover, with extent draining held and before the chunk layer
attaches: seed the store's bitmap from the presence file (present chunks
whole; absent chunks with the file's local blocks and those of log entries
not yet applied), write the record's pages from the prepared coverage with
each chunk classified by the kernel's Rebuilt event, let the store publish
the bitmap and fence both slots, write the header, remove the presence file.
Each step repeats; a complete record only has the presence file removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The parent no longer claims, so its claim map stays empty and -count=2
passes; a hold helper keeps the claim until its stdin closes, a try helper
reports taken or refused, and both run under a local deadline and are
reaped. Held: refused to another process; after the holder exits: taken.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A lock file created by one runner user (0644 under umask 022, never removed)
was opened read-write by the next user and refused with EACCES, locking its
port out for good. flock needs no write access: open read-only, create
0444. Only EWOULDBLOCK means another process holds the port; any other
claim error is reported once, with its path, and the port is left to the
listen probe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>