Files
seaweedfs/seaweed-block/docs/wiki/index.md
T
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

3.6 KiB

Seaweed Block Engineering Wiki

This wiki explains how the Kubernetes line of Seaweed Block works, for developers changing it. It is not a release-claim source: the release notes and Kubernetes status hold the claims, and the design documents are the canonical description: the core design (core block service, verification, known issues), the agent workspace design and the Kubernetes block design.

Pages

Current Product Loop

The current validated loop is:

Helm install
-> CSI CreateVolume
-> SwBlockVolume identity CR
-> lifecycle-owner protection finalizer
-> operator-status writes CRD status and Events
-> delete request
-> delete-safety hold on unsafe evidence
-> release on clean cleanup evidence
-> uninstall zero residue

This is a bounded operation-layer capability. It is not automatic cleanup, not a production operator, and not backup/NVMe expansion.

Returned-replica work adds a separately gated, opt-in failback runtime path. See Returned Replica Failback Runtime for the authority owner, target CR, executor, gRPC service, terminal evidence, and non-claims. That line can plan a frontend-publication target from terminal failback evidence and invoke the publication runtime only under explicit policy; workload-visible path switching remains a separate gate.

Deep Dives

New pages follow the deep-dive template. A page is deep only if a developer could use it to make a correct code change, write the right gate and diagnose a failed run.

Source Evidence

  • docs/ - public and user-facing docs.
  • internal/docs/ - phase plans, design references and QA sign-offs.
  • testops/ - scenario definitions and suite structure.

When a wiki page conflicts with the code, a release note or a QA sign-off, the wiki page is wrong.

Local Preview

pip install mkdocs-material
mkdocs serve        # http://127.0.0.1:8000

Use Mermaid for state machines and sequence diagrams. Link Markdown pages under docs/ with relative links, and source code with GitHub links, since MkDocs serves only files under docs/.