Commit Graph
4 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 68045d9698 durable: remove the smartwal and parallel-walstore engines
- 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>
2026-11-30 20:38:54 -08:00
pingqiuandClaude Opus 5.5 4c119fafb6 fix(sw-block): abort checks the unit's effective identity; a failed re-read is unknown
- The unit passes SWB_VOLUME_EXTRA_ARGS after its own flags, so --abort
  accepts only the exact value volume start writes (--layout-id <id>);
  another layout id after it, or a --master or --volume-id override,
  refuses with nothing changed.
- A placement refused and then not re-readable is an unknown outcome
  (rerun or abort), never "not placed".
- Ledger row INV-CLI-RESTORE-VERB-001 names the guards' tests; the
  persisted-state page lists the settings file restore writes and abort
  removes, and that backup writes no host file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:32:04 -08:00
pingqiuandClaude Opus 5.5 e4e3bb1816 docs(persisted-state): the files the sw-block commands write; the daemon-store claim; the restore tuple
The no-new-file claim is narrowed to the stores the daemons read. A fourth
table lists the files the sw-block commands write on a host (the volume's
settings file and mini's record). The volume records row says a restore
target's record carries its source tuple, as in v1.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:15:33 -08:00
pingqiuandClaude Opus 5.5 cff31f5ab2 docs: persisted state, the list an in-place upgrade rests on
Every state the product writes and reads back after a restart, in three
groups (the volume's remote image, blockmaster's stores, a volume host's
files): where it lives, who writes and reads it, its encoding and what a
reader does with an unknown version, whether a test pins the v1.0.0 bytes,
and whether v1.0.1 changed it. The upgrade page's format sentence now covers
all three groups and links the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:09:36 -08:00