Commit Graph
62 Commits
Author SHA1 Message Date
Ping Qiu c5a7f062a0 Merge pull request #185 from seaweedfs/docs/m5-fsync-numbers
docs: report guest fsync after the group-commit fix (#173)
2026-11-16 19:36:44 -08:00
pingqiuandClaude Opus 5.5 7e33a89f8c docs: report guest fsync after the group-commit fix (#173)
The README, the agent-workspace diagram and docs/workspace-measurements.md
still said guest fsync was about 7 ms against 3 ms local. A rerun after #173
(same lab pack and host, the same four setups, fio 4 KiB random write one at
a time with fsync after every write, median of 3 boots) measured a median of
3.23 ms (ublk, walstore-chunk) against 2.74 ms local. The original runs stay
as history in docs/workspace-measurements.md.

Documentation only; no code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:05:23 -08:00
pingqiuandClaude Opus 5.5 458fb83a93 docs: add the protocol contract (state machines and invariant ledger)
docs/design/invariants.md lists the six state machines Seaweed Block
implements (walstore, authority, replica role and peer, workspace HEAD
holder and takeover, the cut pipeline, the chunk lifecycle) with each
transition's guard and enforcing function, and a 71-row invariant ledger
(69 ACTIVE, 2 STUB): statement, machine and transition, enforcement, tests,
TLA+ property and status. AGENTS.md gets a 'Protocol contract' section, and
the three design docs and the README link the new doc.

Documentation only; no code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:01:38 -08:00
pingqiuandClaude Opus 5.5 63dcb49a54 docs: delete outdated docs, simplify the rest, and split the design reference with diagrams
- Delete the stale roadmap and eight wiki planning pages (git history keeps
  them); move the only unique content (Phase 166-170 write-path experiment
  results) into docs/releases/nvme-tcp-supported-lab.md.
- Simplify the remaining user docs; duplicated non-claim lists link to
  docs/kubernetes-status.md; lab host names and local paths are removed.
- Split docs/design/block-design.md into core, agent-workspace-design.md and
  kubernetes-block-design.md; add four SVG diagrams of the on-disk and remote
  structures and new mermaid diagrams.
- mkdocs.yml nav and README links follow the new layout; the two gate
  scripts drop the one check each that read a deleted file.

Docs only; no product code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:16:02 -08:00
pingqiuandClaude Opus 5.5 663ab3b2c3 docs: README v2 with standalone deployment, Kubernetes status and workspace measurements
The README is rewritten to about 230 lines. Detail that used to live in the
README moves to linked documents:

- docs/standalone-deployment.md: running blockmaster and blockvolume
  without Kubernetes, with a read-only first-volume check and a separate
  write test for scratch hosts.
- docs/kubernetes-status.md: the Kubernetes alpha feature status and
  non-claims.
- docs/workspace-measurements.md: the agent workspace measurements.
- deploy/config and deploy/systemd: env files, a topology example and
  systemd units for blockmaster and blockvolume (plus a ublk variant).

docs/quickstart-kubernetes.md and docs/design/block-design.md are updated
to match current main (auto durable-impl default, fuzz targets, the
concurrent filer CAS test, the CI workflow, the TLA+ specs in docs/spec),
and docs/assets/seaweed-block-hero.svg is refreshed.

Docs and example configuration only; no code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 14:01:51 -08:00
pingqiuandClaude Opus 5.5 ba5eeec356 blockvolume: help and README say auto refuses a walstore-chunk root
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 12:47:04 -08:00
pingqiuandClaude Opus 5.5 1f10755b0e blockvolume: walstore is the default for new volumes; smartwal is experimental
--durable-impl now defaults to empty (auto). A new volume is created as
walstore. An existing volume opens with the implementation its on-disk
superblock names, so volumes created under the old smartwal default keep
opening (no ImplKindMismatch on upgrade). An explicit selector keeps the
exact ErrImplKindMismatch refusal, and an unrecognized on-disk format is
still refused.

- core/frontend/durable: ImplAuto (the zero value) is resolved per volume
  in openOrCreate; openExisting/createFresh take the resolved
  implementation, and each volume handle records it, so DurableStatuses
  reports the on-disk implementation. ImplSmartWAL is documented as
  experimental; the 'production default' comments are removed.
- cmd/blockvolume: --durable-impl default '' with help text 'auto';
  smartwal (experimental). The walstore-only options still require an
  explicit --durable-impl=walstore.
- README: smartwal listed under 'Not claimed yet' with its open issues.

Tests: auto creates walstore; auto opens existing smartwal, walstore and
parallel-walstore volumes by their on-disk format; auto refuses an
unrecognized file; the flag default is empty; explicit values accepted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 12:31:27 -08:00
pingqiuandClaude Opus 5.5 173b20895b docs: label the snapshot/fork and cut numbers as a host-side proxy
The snapshot, fork and parallel-upload cut numbers come from a host-side
proxy (chunks as local files, a deterministic filer metadata model; no
network, guest fsync or block frontend), not from the Firecracker runs. Say
so in the section intro, the table caption, the cut sentence and the image
footer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 07:58:04 -08:00
pingqiuandClaude Opus 5.5 7b78864588 docs: README leads with agent workspace disks; keep the Kubernetes alpha section
Adds an 'Agent workspace disks' section: a local-speed disk per agent microVM,
incremental chunk snapshots to SeaweedFS, cheap snapshot/fork, host moves with
fenced HEAD takeover, measured workspace workloads and snapshot/fork cost, the
sw-block ops chunk lifecycle commands, correctness work and what is not claimed
yet. Adds the overview image docs/assets/seaweed-block-agent-workspace.svg.

The Kubernetes alpha content is unchanged apart from heading levels and the
status table title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 07:57:26 -08:00
pingqiu 0dce26d2b0 phase165: add kubernetes nvme rdma publish attach 2026-07-18 03:03:54 -07:00
pingqiu 18245463c5 phase164: harden standalone nvme rdma lifecycle 2026-07-18 01:53:29 -07:00
pingqiu ab0930c399 phase163: add standalone nvme rdma live path 2026-07-18 01:07:05 -07:00
pingqiu 76f06a80cf phase156: keep multiblock wal opt-in source gated 2026-07-17 00:35:26 -07:00
pingqiu 298cbdc8c9 phase153: document multiblock wal release boundary 2026-07-06 23:14:27 -07:00
pingqiu e7affbeed4 phase134: batch durable backend writes 2026-07-04 15:37:09 -07:00
pingqiu 19152945ce phase133: prune stale nvme paths 2026-07-04 15:09:52 -07:00
pingqiu cfaf29cc11 phase132: prove nvme desired path reconnect 2026-07-04 14:48:23 -07:00
pingqiu e622bea61d phase131: prove nvme live reconnect owner 2026-07-04 12:47:34 -07:00
pingqiu ad80851a5d phase130: add nvme reconnect owner gate 2026-07-04 12:04:54 -07:00
pingqiu 257c585147 phase122: add 100gbe nvme tcp baseline 2026-07-02 19:19:04 -07:00
pingqiu 39544ab4e5 docs: package nvme supported-lab claim 2026-06-30 13:47:26 -07:00
Ping Qiu c05f6d808c phase113: prove nvme mounted path restore (#64) 2026-06-29 22:47:50 -07:00
Ping Qiu 297864d39a phase112: prove mounted nvme path-loss io (#63) 2026-06-29 22:34:32 -07:00
pingqiu db527f70c0 phase101: close nvme hardening plan 2026-06-28 01:57:24 -07:00
pingqiu 610ac5491c docs: update readme for nvme csi multipath gate 2026-06-27 12:56:55 -07:00
pingqiu ea998da72f phase87: align failback docs 2026-06-26 11:52:36 -07:00
pingqiu 59364ce880 docs: align returned replica executor release claims 2026-06-23 12:02:12 -07:00
pingqiu 363eb39db2 docs: clarify v0.5 lifecycle release boundary 2026-06-17 15:10:09 -07:00
pingqiu 97ca95455a phase44: close delete lifecycle release docs 2026-06-17 14:28:46 -07:00
pingqiu a7483b13f0 phase40: close operator foundation release 2026-06-14 08:46:10 -07:00
pingqiu 211b0547a9 phase40: align operator status release claims 2026-06-13 13:46:14 -07:00
pingqiu 236500439e phase36: close productized operations actionability 2026-06-06 10:36:55 -07:00
pingqiu f30606af89 docs: close phase35 operator foundation 2026-06-04 16:43:24 -07:00
Ping Qiu 8651073e0c alpha: package Helm lifecycle and read-only operations release
Merge Phase 26-32 Helm lifecycle, read-only operations, restart persistence, cleanup reliability, and v0.3.4 alpha documentation.
2026-05-26 20:54:13 -07:00
Ping Qiu 01d735dad7 v0.3 Helm observable first-volume alpha
Adds the Helm-first Day-1 install path, sw-block generated Helm values, read-only ops dashboard/report artifacts, ManagedVolume projection, and v0.3 alpha docs/release notes.\n\nValidated by QA walkthrough and Helm first-volume gates; CodeRabbit Ready/NotReady predicate feedback addressed.
2026-05-22 11:24:48 -07:00
Ping Qiu 5c4f995c55 v0.2 alpha: Day-1 activation and first-volume loop (#48)
Package the Kubernetes alpha into a script-based Day-1 activation loop: activate the stack, create the first PVC-backed volume, verify writer/reader data, collect product-owned observation evidence, render a local read-only report, and clean up.

Includes multi-node-safe activation defaults, first-volume example automation, read-only ops report output, README/quickstart/release note updates, and review-driven hardening for fail-fast configuration, promotion evidence, inventory fail-closed behavior, and test guards.

Validated by Day-1 activation run 20260517-205252-04e9 and read-only report run 20260517-212358-bfba. Local targeted tests passed.
2026-05-18 16:43:35 -07:00
Ping Qiu e387d4e4bb ops: add light-use operations and placement gates (#47)
Add the light-use operations path for Seaweed Block alpha users.

This includes per-volume status bundles, cluster inventory, product-owned blockvolume lifecycle, durable restart/reattach evidence, same-node alpha placement checks, TestOps control data, and the supporting runner-native gates and QA close reports.

The next active plan is Basic Mounted Failover And Reattach MVP, which carries RF=2/RF=3 recovery work forward without claiming it closed in this milestone.
2026-05-13 01:31:21 -07:00
Ping Qiu 6dd9dc33e2 docs: close iSCSI/NVMe protocol readiness plan (#44)
Close the current protocol-readiness plan and move active work to V2 parity and hardening.

The release gate now covers iSCSI ALUA/failover, NVMe ANA/multipath/failover, CSI protocol selection, and the iSCSI compatibility soak. Test layering is documented so default Go tests stay unit/component scoped, local subprocess tests are opt-in, and Linux lab coverage remains in runner-native TestOps suites.
2026-05-09 11:34:39 -07:00
pingqiu 1b3d2913bd scripts: default alpha cleanup to pvc owner references 2026-05-04 20:21:48 -07:00
Ping Qiu e3e0468306 docs(readme): cut to engineering-tone (#38)
Replace the marketing-leaning prose with a terser, fact-first README:
status / why this exists / architecture / quick start / repo layout /
development / current limitations / license.

Drops abstract slogans and adjective stacks. Keeps every concrete
command, path, image reference, and limitation that was previously
documented. Net: 362 → 190 lines.
2026-05-04 13:56:13 -07:00
pingqiu b4dde2840c docs(k8s): add alpha install workflow 2026-05-04 10:24:47 -07:00
pingqiu 0566dcbd09 ci(k8s): publish alpha images to GHCR 2026-05-04 10:21:31 -07:00
Ping Qiu 13584950da docs(k8s): make app demo registry-friendly
Add a stable Kubernetes app-demo entry point, registry image overrides, a quickstart guide, and copyable basic app PVC examples.

Validated on M02 k3s with writer pod -> same PVC -> reader pod checksum verification.
2026-05-04 10:19:51 -07:00
Ping Qiu 5446208dd3 docs(readme): hybrid tone pass — punchier voice, same technical claims (#22)
Adopt a more direct engineering tone (Why build this / The design / How it
compares / What works today / What's NOT claimed). Keeps the load-bearing
honesty bits intact: the four control/data separation invariants, the full
non-claims list, and the complete Quick Start including KUBECONFIG and the
second image import.
2026-05-03 20:54:15 -07:00
pingqiu 36eee3302c demo: add Kubernetes app PVC walkthrough 2026-05-03 20:27:58 -07:00
pingqiu cfafe4b36c docs: clarify alpha cleanup boundary 2026-05-03 16:15:54 -07:00
pingqiu 3fd94ba1e3 docs: clarify CSI-focused positioning 2026-05-03 15:52:26 -07:00
pingqiu 2025d04161 docs: add README architecture hero 2026-05-03 15:47:26 -07:00
pingqiu 0d00847335 scripts: add stable alpha entrypoints 2026-05-03 15:37:27 -07:00
pingqiu 1a9e3e3939 docs: smooth alpha quick start 2026-05-03 15:32:38 -07:00