Commit Graph
217 Commits
Author SHA1 Message Date
Ping Qiu 1c497b0eb0 Merge pull request #169 from seaweedfs/docs/tla-spec
docs/spec: add TLA+ models of the volume lifecycle, takeover, WAL recovery, cut pipeline and GC timing
2026-11-16 12:48:13 -08:00
pingqiuandClaude Opus 5.5 e573edb0f1 docs(design): walstore is the default engine; smartwal is experimental
Match blockvolume's auto default (new volumes are walstore, an existing
volume opens with its on-disk format): §1.3 lists smartwal's open issues
and says it is not a default; the open-items entry no longer says the
standalone default is smartwal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 12:34:23 -08:00
pingqiuandClaude Opus 5.5 cd16a2a90b docs/spec: add TLA+ models of the volume lifecycle, takeover, WAL recovery, cut pipeline and GC timing
docs/spec/ holds 12 TLA+ models of the block protocols with their TLC
configurations (cfg/, 199 files: designs, RED configs that remove one guard
and must produce a counterexample, and reachability witnesses), run.sh to
check one configuration, and a README: how to run TLC, one row per spec
(invariants, results, the code it maps to), limits, the findings that led
to #152, #156, #158 and #159, and the open model-level items.

Docs only; nothing runs in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:55:16 -08:00
pingqiuandClaude Opus 5.5 bc07589243 docs: add the block design document
docs/design/block-design.md describes the current design of the block
service: the data path and WAL, replication and recovery, the chunk
snapshot/fork/GC control plane, and the frontends. Each claim names the
source file and the test that pins it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:46:31 -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 882f8aed6a Merge main into fsync latency breakdown; retain recovery and timing status 2026-11-16 02:02:38 -08:00
pingqiu f7a0279211 fix: validate ublk writes before lazy timing provider lookup 2026-11-16 00:53:34 -08:00
pingqiu 2b079007bd fix: forward durable timing through production ublk provider 2026-11-16 00:41:47 -08:00
pingqiu d42e123a89 docs: explain durable latency populations and fsync diagnosis 2026-11-16 00:24:25 -08:00
pingqiu 342dc3529a fix: separate workspace lease expiry with a clock skew margin 2026-11-15 23:30:05 -08:00
pingqiu ddae3ac15e test: pin failure joins range reuse and document manifest compatibility 2026-11-15 18:39:35 -08:00
pingqiu a42b54235c fix: make workspace host fencing terminal across guard installation 2026-11-15 13:43:46 -08:00
pingqiu 69e9fbc4fe feat: enforce workspace leases in the blockvolume lifecycle 2026-11-15 13:35:18 -08:00
Ping Qiu 49b726d6dd durable: remove successful write logging without weakening I/O drain (#105) 2026-11-15 10:18:02 -08:00
pingqiu c335e9737f phase169: close rejected segmented WAL milestone 2026-07-30 00:43:38 -07:00
pingqiu c3dd8a8e22 phase168: close rejected native WAL milestone 2026-07-29 23:15:13 -07:00
pingqiu 898ef1c97f phase168: plan Linux native WAL execution 2026-07-29 20:59:31 -07:00
pingqiu 19cce945e5 phase167: plan parallel write engine milestone 2026-07-29 16:11:40 -07: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 b0bfb5b3f3 phase163: harden nvme rdma bridge boundaries 2026-07-18 01:14:15 -07:00
pingqiu ab0930c399 phase163: add standalone nvme rdma live path 2026-07-18 01:07:05 -07:00
pingqiu 070f3c9597 phase162: add nvme rdma listener start skeleton 2026-07-17 01:08:31 -07:00
pingqiu a29003ac77 phase161: surface nvme rdma preflight refusal facts 2026-07-17 01:03:52 -07:00
pingqiu 059cf5e82b phase160: isolate nvme tcp session transport 2026-07-17 00:58:52 -07:00
pingqiu 2827c15c6f phase159: define nvme rdma listener design gate 2026-07-17 00:54:35 -07:00
pingqiu a177defab4 phase158: add nvme rdma capability probe 2026-07-17 00:48:58 -07:00
pingqiu c0b8bf51e5 phase157: document nvme rdma capability boundary 2026-07-17 00:39:21 -07:00
pingqiu 76f06a80cf phase156: keep multiblock wal opt-in source gated 2026-07-17 00:35:26 -07:00
pingqiu cf4da8e5e0 phase155: confirm mounted durable status head lsn 2026-07-12 10:27:51 -07:00
pingqiu 11c54e5c11 phase154: fix durable status head lsn after recovery 2026-07-07 17:17:53 -07:00
pingqiu 298cbdc8c9 phase153: document multiblock wal release boundary 2026-07-06 23:14:27 -07:00
pingqiu 20e5dda45c phase152: gate multiblock wal recovery 2026-07-06 22:13:36 -07:00
pingqiu e36bdeb973 phase151: profile multiblock wal mounted nvme opt-in 2026-07-06 16:27:52 -07:00
pingqiu 724cc0e1f1 phase150: wire multiblock wal runtime opt-in 2026-07-06 16:09:34 -07:00
pingqiu 96ab45bea5 phase149: profile multiblock wal record count 2026-07-06 16:04:13 -07:00
pingqiu 53a5cab66e phase148: prototype multiblock wal records locally 2026-07-06 16:01:13 -07:00
pingqiu 7b5250ed66 phase147: document wal multiblock record design gate 2026-07-06 15:54:09 -07:00
pingqiu fa77e110a5 phase146: profile wal materialization effectiveness 2026-07-06 15:49:11 -07:00
pingqiu b4192576eb phase145: reduce wal batch record allocation 2026-07-06 15:34:05 -07:00
pingqiu aa5159328b phase144: classify wal encode append pair 2026-07-06 15:24:38 -07:00
pingqiu 5af378f3ab phase143: profile wal append under large h2c 2026-07-06 15:16:29 -07:00
pingqiu 837209cece phase142: retriage nvme tcp large h2c 2026-07-06 15:03:30 -07:00
pingqiu 9566f0cc41 phase141: gate nvme max h2c opt-in 2026-07-06 14:47:03 -07:00
pingqiu 413054f517 phase140: classify frontend request size 2026-07-06 14:14:12 -07:00
pingqiu f18e0b6536 phase139: classify wal append batch shape 2026-07-06 13:55:11 -07:00
pingqiu 0c974eb30b phase138: profile wal writeat shape 2026-07-05 15:40:29 -07:00
pingqiu d63922fb95 phase137: reduce wal record encode copy 2026-07-05 09:11:15 -07:00
pingqiu 07b14b7800 phase136: profile wal write internals 2026-07-04 16:07:00 -07:00