A caller can give up before the front's handler is scheduled to notice,
leaving the left channel open; the check reads the held request's context
first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The filer front records when the held call leaves and why (the test's
release, or its caller giving up); the test checks the hold is still
waiting right after the store goes down, else the run is inconclusive.
E1_TEST_DELAY_KILL delays the kill past the upload's timeout as the
negative control. The post-restart HEAD reads carry the wait's absolute
deadline, and the side-file census fails on any error but a file removed
while it is walked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eventBudget is asked again for each wait and is at most the time left
before the test's deadline less a reserve, with no fixed minimum, so no
wait outlives the deadline.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A store now lives in its volume's own directory (<name>-<id8>) and its side
file is created next to it; the test globbed only the host root, so it
measured 0 and its no-leftover checks looked nowhere. It walks the root.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SeaweedFS names a full store only to the assign that tries to grow a
volume, so one object's retries and a cut's upload batch keep that answer
over plainer failures. A real-weed integration test fills a tiny store and
checks every round of concurrent uploads answers remote_full. The ledger
gains the remote_full and LastCutFailure rows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The filer front accepts at once while the real filer behind it may still
be starting, so the restart is complete when HEAD reads again. The chunk
verify call names --master, which a bare chunk path now needs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SeaweedFS's assign answer for a store with no writable volume and no free
volume slot is classified as ErrChunkRemoteFull on both assign paths; the
routes answer it as remote_full (503, retryable after capacity is added),
apart from remote_unavailable. Every failed cut, requested or scheduled,
sets the layer's LastCutFailure (code, cause, time, repeats), cleared by a
success; the holder logs one WARN per change of code, not one per retry.
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>
A cut's session begin writes HEAD (a new generation) before its first
upload, so a generation change does not mean the cut committed. On M01
(weed 4.53) the guard fired on the session begin in all four subtests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test polled for the cut's first filer entry and then checked HEAD had
not moved; on a fast host the cut committed between the two (HEAD gen 4 ->
5, "not mid-cut"). It now runs on a filer front that holds the reply to the
cut's first applied chunk-object create: the store is stopped while that
reply is held, then the reply is released, so the cut cannot commit before
the store is down. E1_TEST_SKIP_BOUNDARY=1 holds nothing and the test then
fails as inconclusive.
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>