diff --git a/seaweed-block/README.md b/seaweed-block/README.md index 99d6c98733..2ddbafe6bc 100644 --- a/seaweed-block/README.md +++ b/seaweed-block/README.md @@ -1,22 +1,40 @@ # Seaweed Block -[![tag](https://img.shields.io/github/v/tag/seaweedfs/seaweed-block?sort=semver&label=release)](docs/releases/v1.0.0.md) +[![tag](https://img.shields.io/github/v/tag/seaweedfs/seaweed-block?sort=semver&label=release)](docs/releases/README.md) [![CI](https://github.com/seaweedfs/seaweed-block/actions/workflows/test.yml/badge.svg)](https://github.com/seaweedfs/seaweed-block/actions/workflows/test.yml) [![Go](https://img.shields.io/github/go-mod/go-version/seaweedfs/seaweed-block)](go.mod) [![License](https://img.shields.io/github/license/seaweedfs/seaweed-block)](LICENSE) -**Block storage for AI agent workspaces at local-disk speed, with snapshots, restore and moves backed by your own -[SeaweedFS](https://github.com/seaweedfs/seaweedfs).** Each sandbox or microVM gets a plain virtio block disk. Writes -and `fsync` complete on the host's local disk; cuts copy the changed data to SeaweedFS in the background. Losing the -host loses what was written since the last successful cut: normally about a day with the default schedule (one -snapshot a day), not a guaranteed bound; `--chunk-capture-interval` (5 minutes or more) cuts more often. The same core serves Kubernetes block volumes (alpha). +*Local-speed execution. Portable workspace state.* + +**Block storage for AI agent workspaces, with checkpoints, restore and moves in your own +[SeaweedFS](https://github.com/seaweedfs/seaweedfs).** Each sandbox or microVM gets a plain virtio block disk: writes +and `fsync` complete on the host's local disk, close to local-disk speed (`fsync` about 1.3x local). A checkpoint +copies the changed data to SeaweedFS. + +- **Named checkpoints restore:** `sw-block ops chunk snapshot` takes one on demand, and a restore makes a new volume + from it. **Scheduled cuts protect:** `--chunk-capture-interval` (5 minutes or more) publishes the volume's current + state, which a move or a lost host resumes from; a cut is not a restore point by name. +- **A checkpoint is confirmed only once it is in SeaweedFS:** the command answers ok after its commit there, which + follows the upload. +- **After a lost host,** an operator's forced move (after the lease barrier) continues the workspace from its last + confirmed checkpoint; the writes after it are lost, and reported. The default schedule, one snapshot a day + (attempted, not guaranteed), suits sandboxes you can rebuild; a persistent agent should checkpoint at its task + boundaries. + +The same core serves Kubernetes block volumes (alpha).

Seaweed Block. Write path: an agent sandbox or microVM writes over NVMe/TCP or iSCSI to blockvolume, which completes the write and fsync on its local WAL and acknowledges; a write does not wait on SeaweedFS, except that a restored volume fetches each chunk from its snapshot once, on its first read or write. Background path: a cut (by default one scheduled snapshot a day; periodic cuts are optional) uploads only the changed 4 MiB chunks to your SeaweedFS, then updates the HEAD root with a conditional update on generation and epoch. blockmaster issues epochs and leases. Snapshots name a root and share chunks; a restore reads the snapshot's chunks on first use; a move hands the volume to another host at a higher epoch, and a stale holder's update is refused.

-**Branches.** `main` is v1.1 in development: it is not a release, and the store format it writes may change -before v1.1. Do not run it for data you keep. v1.0.x releases ship from the `release-1.0` branch. +**Measured** (lab runs, median of 3; not SLOs; these pre-release numbers are replaced by the v1.1.1 launch numbers): + +| Measurement | Seaweed Block | Local disk | Source and version | +|---|---|---|---| +| `npm ci` (617 packages, offline) | 2.14 s | 2.14 s | pre-release build `f7a6305`, Firecracker microVM over NVMe/TCP loopback ([measurements](docs/workspace-measurements.md)) | +| Guest `fsync` median (fio 4 KiB random write, one at a time) | 3.59 ms | 2.74 ms | pre-release `walstore-chunk` after the group-commit fix ([#173](https://github.com/seaweedfs/seaweed-block/pull/173)), same host ([measurements](docs/workspace-measurements.md)) | +| Guest write pause during a checkpoint | not yet published | | measured in the v1.1.1 launch run | ## Install @@ -29,9 +47,13 @@ below with the release, for example `v1.1.0`. curl -fsSLO https://github.com/seaweedfs/seaweed-block/releases/download/TAG/sw-block-TAG-linux-amd64.tar.gz curl -fsSLO https://github.com/seaweedfs/seaweed-block/releases/download/TAG/SHA256SUMS sha256sum -c --ignore-missing SHA256SUMS && tar -xzf sw-block-TAG-linux-amd64.tar.gz --strip-components=1 -./blockvolume --version +./blockvolume --version # must print the tag's commit ``` +This is for v1.1.0, whose archive keeps the binaries in a directory. From v1.1.1 the archive holds the three binaries +at its top and `SHA256SUMS` lists the archive: extract it without `--strip-components` +([operations manual](docs/operations-manual.md#1-install-the-binaries-and-units)). + **Option 1b:** copy them from the release image `ghcr.io/seaweedfs/seaweed-block:TAG` (the release page gives its index digest): @@ -50,6 +72,10 @@ for b in blockmaster blockvolume sw-block; do go build -o $b ./cmd/$b; done **Option 3:** Helm, see the [Kubernetes quick start](#quick-start-kubernetes-alpha). Services: [standalone deployment](docs/standalone-deployment.md). Operations manual (install, upgrade and finalize, isolation, monitoring, typed errors): [operations manual](docs/operations-manual.md). Operator guide (supported setup, sizing, recovery point, host loss, limits): [operator guide](docs/operator-guide.md). +**Branches.** v1.1.0 was tagged on the `release-1.1` branch and the v1.0.x releases on `release-1.0`. `main` +carries the next v1.1.x fixes ([v1.1.1, unreleased](docs/releases/v1.1.1.md)) and later work: it is not a release. +Do not run it for data you keep. + ## Try it The [first volume check](docs/standalone-deployment.md#first-volume-read-only-check) @@ -93,12 +119,12 @@ engine only, with no snapshots and a banner saying so; a `--weed` path that does 1.3 times local ([measured results](#measured-results), [how each was measured](docs/workspace-measurements.md)). - **`fsync` is durable on the host that serves the volume.** Every guest `fsync` reaches the host's disk; no write cache is turned off to get the speed (a gate counts flushes against backend syncs, with an unsafe-cache control). - In fault injection on the release candidate (process kills and a store pause on one host; not a power-loss test), + In fault injection on v1.0.0-rc.3 (process kills and a store pause on one host; not a power-loss test), 0 acknowledged writes were lost across 253 judged; the same runs failed other operation checks, listed with the record. If the host itself is lost, the volume comes back from its last cut ([records](docs/workspace-measurements.md)). - **Snapshots in your object store.** A cut uploads only the changed 4 MiB chunks. A snapshot names a root of about - 2 KB and shares its chunks; a restore makes a new volume that reads them on first use + 2 KB for a 10 GiB volume (host-side proxy; it grows with the volume's chunk count) and shares its chunks; a restore makes a new volume that reads them on first use ([agent workspace design](docs/design/agent-workspace-design.md)). - **Safe moves between hosts.** One blockmaster issues epochs and leases, and a holder admits I/O only while its own lease is current; run exactly one blockmaster per cluster. Separately, every HEAD update is conditional on @@ -130,13 +156,13 @@ separately), the first three are 11-23% slower than the local disk (see the meas | Untar 100,000 files / cold `find` + `stat` over them | 1.10 s / 0.32 s | 1.06 s / 0.33 s | | 2,000 × create + write + `fsync` | 9.27 s | 6.11 s | | Guest `fsync` median, fio 4 KiB random write, one at a time | 3.59 ms | 2.74 ms | -| Snapshot of a 10 GiB volume (2,560 chunks) | 0.18 ms | | +| Snapshot of a 10 GiB volume (2,560 chunks); host-side proxy: local chunk files and a deterministic model of filer metadata calls, so no network, guest `fsync` or block frontend | 0.18 ms | | | Two-host lifecycle (pre-release): create, snapshot, fork, move, stale holder, delete, GC | 35 of 35 checks | | -The snapshot row is a host-side proxy without network latency, guest `fsync` or the block frontend. The two-host -lifecycle row is a pre-release run that included fork (removed from this release) and the earlier GC. The remaining -cost is `fsync`: a median of 3.59 ms against 2.74 ms local over NVMe/TCP loopback. The ublk frontend measured -3.23 ms in the same run; ublk is not among v1.0.0's supported frontends (NVMe/TCP and iSCSI). +The two-host lifecycle row is a pre-release run that included fork (removed from this release) and the earlier GC. +The remaining cost is `fsync`: a median of 3.59 ms against 2.74 ms local over NVMe/TCP loopback. The ublk frontend +measured 3.23 ms in the same run; ublk is not among the supported frontends of v1.0 or of the v1.1.x +[operations manual](docs/operations-manual.md) (NVMe/TCP and iSCSI). [Workspace measurements](docs/workspace-measurements.md) has every number, the FUSE comparison and how each was measured. @@ -146,10 +172,16 @@ measured. normally about a day with the default schedule (one scheduled snapshot a day, which is attempted, not guaranteed). `--chunk-capture-interval` (5 minutes or more) adds periodic cuts and shortens it. -- **v1.0.0 supports** the single-replica volume (`--durable-impl walstore-chunk`), backed up to SeaweedFS with - snapshots, restore, moves and volume delete. New volumes are at most 256 GiB. See the - [release note](docs/releases/v1.0.0.md) and its [known limits](docs/releases/v1.0.0.md#known-limits). -- **Replicated volumes** are a preview ([replicated volumes preview](docs/releases/replicated-volumes-preview.md)). +- **Stopping:** `sw-block volume stop` takes a cut by default, which publishes the volume to the object store + (`--no-cut` skips it). A holder that stops any other way (`systemctl stop`, a kill, or the loss of its host) takes + no cut, and writes acknowledged after its last cut are on that host's disk only + ([operator guide](docs/operator-guide.md)). +- **v1.1.x supports** the single-replica volume (`--durable-impl walstore-chunk`), backed up to SeaweedFS with + snapshots, restore, moves and volume delete. New volumes are at most 1 TiB; above 256 GiB they need format level 1: a new cluster starts at it, an upgraded cluster gets it from `sw-block cluster finalize-format`, and no volume above 256 GiB is created until every host runs v1.1. See the + [operations manual](docs/operations-manual.md), its + [known limitations](docs/operations-manual.md#11-known-limitations) and the [v1.1 notes](docs/releases/v1.1.md). +- **Replicated volumes** are a preview in v1.0 and v1.1 + ([replicated volumes preview](docs/releases/replicated-volumes-preview.md)). - **Kubernetes** is an alpha, for supported lab clusters ([Kubernetes status](docs/kubernetes-status.md)). ## Direction @@ -157,14 +189,16 @@ measured. Seaweed Block is block storage for AI agent workspaces: one local-speed disk per sandbox or microVM, with its history (snapshots, restores, moves) in your own SeaweedFS. The same core serves Kubernetes block volumes (alpha). -- **Works today (v1.0.1):** single-replica volumes up to 256 GiB over NVMe/TCP or iSCSI; scheduled and manual - snapshots; restore into a new volume; a planned hand-over to another machine (run across two machines on the - release candidate); a forced move after a host is lost, from the volume's last cut (tested with two server - identities on one machine); volume delete. Each is a documented sequence of `sw-block ops` commands and systemd - units. v1.0.1 adds `sw-block mini`, a single-host trial; whole-job volume commands (`sw-block volume start`, - `stop`, `backup`, `restore`); `sw-block shell` for inspection, with `cluster.check` and a troubleshooting page; a - log bundle without secrets; and a working `ops chunk verify` (see the [v1.0.1 note](docs/releases/v1.0.1.md)). -- **After that, planned:** volumes up to 1 TiB (v1.1); replicated volumes beyond the preview; export of a snapshot to another object store, and +- **Works today (v1.1.x):** single-replica volumes up to 1 TiB over NVMe/TCP or iSCSI; scheduled and manual + snapshots; restore into a new volume; a planned hand-over to another machine (run across two machines on the v1.0 + release candidate; [two hosts](docs/operations-manual.md#appendix-b-two-hosts-and-a-planned-move)); a forced move + after a host is lost, from the volume's last cut (tested with two server identities on one machine); volume delete. Each is a documented sequence of `sw-block ops` commands and + systemd units. Since v1.0.1: `sw-block mini`, a single-host trial; whole-job volume commands (`sw-block volume + start`, `stop`, `backup`, `restore`); `sw-block shell` for inspection, with `cluster.check` and a troubleshooting + page; a log bundle without secrets; and `ops chunk verify` ([v1.0.1 note](docs/releases/v1.0.1.md)). v1.1 adds + volumes above 256 GiB, up to 1 TiB, at format level 1 (new clusters start at it; upgraded clusters finalize) + ([v1.1 notes](docs/releases/v1.1.md)). +- **After that, planned:** replicated volumes beyond the preview; export of a snapshot to another object store, and import from it; `volume fork` and `volume move` commands. ## Agent workspace disks: chunk lifecycle @@ -194,10 +228,37 @@ once and reads every chunk it has not made local from the source's snapshot (there is no background copy). The source snapshot cannot be deleted while the target exists. Fork is not supported in this release; the command is removed. See [Restoring a snapshot](docs/standalone-deployment.md#restoring-a-snapshot-into-a-new-volume). -In v1.0.0 the chunk path (`walstore-chunk`) is the supported single-replica -configuration ([release note](docs/releases/v1.0.0.md), [operator guide](docs/operator-guide.md)); +In v1.0 and v1.1.x the chunk path (`walstore-chunk`) is the supported single-replica +configuration ([operations manual](docs/operations-manual.md), [operator guide](docs/operator-guide.md)); it is not the `--durable-impl` default. +## Detailed status + +Agent workspace disks (`walstore-chunk`, single replica) are supported; replicated volumes are a preview; Kubernetes +is an alpha. Each area's status by release, with its conditions: [capabilities](docs/releases/capabilities.md). + +**Upgrade note:** blockmaster listens off loopback only with mutual TLS +(`--tls-cert`, `--tls-key`, `--tls-client-ca`, `--role-file`); the runtime HTTP +listener always stays on loopback, and `--insecure-external-bind` is refused. +The Helm chart and the shipped manifests run with mutual TLS; create their +Secrets first ([quickstart](docs/quickstart-kubernetes.md)). + +### Not claimed yet + +- Production readiness, SLOs, or a published performance, RTO or RPO claim. +- `fsync` parity with local disk. Today it is about 1.3× local over NVMe/TCP + (see Measured results). +- ublk at high density. Unprivileged per-volume servers need a privileged + control broker, which is not done. +- Crash-restart recovery of a ublk server. A crashed server fails closed. +- Multi-replica workspaces combined with chunk snapshots. +- The experimental engines `smartwal` and `parallel-walstore`: removed in + v1.1; their volumes are refused (copy the data to a walstore volume with + v1.0.x first). +- Kubernetes: backup and restore, a production operator, automatic failback + or cleanup, upgrade execution, broad compatibility, and more: see + [what you should not expect yet](docs/kubernetes-status.md#what-you-should-not-expect-yet). + ## Quick start: Kubernetes (alpha) For supported lab clusters, not production. v1.1.0 is affected (its generated @@ -230,43 +291,6 @@ helm uninstall sw-block --namespace kube-system bash scripts/uninstall-k8s-alpha.sh "$PWD" && bash scripts/verify-helm-cleanup.sh ``` -## Detailed status - -| Area | Status | -|---|---| -| Agent workspace disks (`walstore-chunk`), single replica | Supported in v1.0.0; see its [known limits](docs/releases/v1.0.0.md#known-limits) | -| Replicated volumes (`replication_factor` above 1) | Preview in v1.0.0 ([replicated volumes preview](docs/releases/replicated-volumes-preview.md)) | -| Kubernetes: Helm install, PVC provisioning, writer/reader check, read-only report and dashboard, CRD status and Events, support-bundle replay | Available (alpha) | -| Kubernetes: RF=3 multi-volume, CSI reattach recovery, iSCSI ALUA/dm-multipath mounted failover, restart persistence with hostPath | Gated (supported lab) | -| Kubernetes: `SwBlockVolume` finalizer lifecycle owner, returned-replica ACK eligibility executor | Beta candidate | -| Kubernetes: NVMe/TCP CSI multipath, returned-replica failback runtime, WAL multi-block record opt-in | Source-gated | -| Kubernetes: backup, snapshot and restore; returned-replica rebuild traffic | Planned | - -Full table and conditions: [Kubernetes status](docs/kubernetes-status.md); -run evidence: [release notes](docs/releases/README.md). - -**Upgrade note:** blockmaster listens off loopback only with mutual TLS -(`--tls-cert`, `--tls-key`, `--tls-client-ca`, `--role-file`); the runtime HTTP -listener always stays on loopback, and `--insecure-external-bind` is refused. -The Helm chart and the shipped manifests run with mutual TLS; create their -Secrets first ([quickstart](docs/quickstart-kubernetes.md)). - -### Not claimed yet - -- Production readiness, SLOs, or a published performance, RTO or RPO claim. -- `fsync` parity with local disk. Today it is about 1.3× local over NVMe/TCP - (see Measured results). -- ublk at high density. Unprivileged per-volume servers need a privileged - control broker, which is not done. -- Crash-restart recovery of a ublk server. A crashed server fails closed. -- Multi-replica workspaces combined with chunk snapshots. -- The experimental engines `smartwal` and `parallel-walstore`: removed in - v1.1; their volumes are refused (copy the data to a walstore volume with - v1.0.x first). -- Kubernetes: backup and restore, a production operator, automatic failback - or cleanup, upgrade execution, broad compatibility, and more: see - [what you should not expect yet](docs/kubernetes-status.md#what-you-should-not-expect-yet). - ## Correctness and verification - **CI** runs `go build`, `go vet` and `go test -short` on every pull request diff --git a/seaweed-block/docs/design/agent-workspace-design.md b/seaweed-block/docs/design/agent-workspace-design.md index f7ef1f50ac..3c963d30ad 100644 --- a/seaweed-block/docs/design/agent-workspace-design.md +++ b/seaweed-block/docs/design/agent-workspace-design.md @@ -2,13 +2,13 @@ This document describes the Agent Block line: a local-speed block device for an agent sandbox or microVM, whose durability comes from snapshots in SeaweedFS. It covers how the code works, the invariants, where each is enforced, the tests, and what is not done yet. -**Status: proof of concept.** The chunk path (`blockvolume --durable-impl=walstore-chunk`) is not yet a default, a release claim or a production path. +**Status: shipped.** The chunk path (`blockvolume --durable-impl=walstore-chunk`) is the supported single-replica configuration of v1.0 and v1.1.x ([capabilities by release](../releases/capabilities.md), [operations manual](../operations-manual.md)). It is not the `--durable-impl` default and not a production-readiness claim. Forks, described below, are not in any release. The three design documents: | Document | Covers | |---|---| -| [Core design](block-design.md) | The shared core: frontends and the Backend contract, walstore, smartwal (experimental), durability and `Sync`, authority and epochs, the replication engine, recovery; verification, lessons and known issues across the codebase | +| [Core design](block-design.md) | The shared core: frontends and the Backend contract, walstore, smartwal (historical: an experimental engine removed in v1.1), durability and `Sync`, authority and epochs, the replication engine, recovery; verification, lessons and known issues across the codebase | | Agent workspace design (this document) | Agent workspace disks: one local replica per workspace, cuts to SeaweedFS, snapshots, forks, GC, host moves | | [Kubernetes block design](kubernetes-block-design.md) | Kubernetes block volumes (alpha): CSI, Helm, RF=2/3 replication and failover, multipath, readiness | @@ -56,7 +56,7 @@ flowchart LR ``` - **Frontend:** the same ublk and NVMe/TCP code as the Kubernetes line ([core §1.1](block-design.md#11-frontends-and-the-backend-contract)). NVMe/TCP binds to loopback (`cmd/blockvolume/main.go` `enforceFrontendLoopbackBind`); ublk serves `/dev/ublkbN` on the same host (`--ublk-device`). The guest sees a plain virtio block device that the hypervisor attaches. -- **Local engine:** walstore only (`--durable-impl=walstore-chunk`, [core §1.2](block-design.md#12-walstore-wal-plus-extent)). `Sync` still means local durability; nothing on the write path waits for the network. smartwal does not support the chunk layer. +- **Local engine:** walstore only (`--durable-impl=walstore-chunk`, [core §1.2](block-design.md#12-walstore-wal-plus-extent)). `Sync` still means local durability; nothing on the write path waits for the network. smartwal, an experimental engine removed in v1.1, never supported the chunk layer. - **Chunk layer:** `core/storage/chunk_layer.go` (`chunkLayerImpl`), attached under the walstore flusher; the contract is the header of `core/storage/chunk_seam.go`. - **Backend:** SeaweedFS. Chunk bytes live in volume servers; HEAD, key bindings, intents, volume records and snapshot records live in the filer (`core/frontend/chunkstore`). - **Authority:** blockmaster mints the epoch and grants a workspace lease ([core §1.5](block-design.md#15-authority-blockmaster-assignments-epochs-leases); §7 below). @@ -412,7 +412,8 @@ What isolates one workspace from another today: Not done yet: -- No authentication on the control plane (blockmaster), the status and chunk control endpoints, the replication channel or the filer client. Anyone who can reach the filer can read or change any volume's entries. **Planned:** mTLS and role checks for destructive operations ([core known issues](block-design.md#24-known-issues-and-work-in-progress)). +- **The control plane (blockmaster)** authenticates with mutual TLS when it is configured (required off loopback): client certificates verified against `--tls-client-ca`, pinned roles from `--role-file` (viewer, operator, admin, node), and an append-only `--audit-log` ([operator guide](../operator-guide.md#authenticate-the-control-api)). +- **No authentication** on the status and chunk control endpoints (loopback-only by default), the replication channel or the filer client. Anyone who can reach the filer can read or change any volume's entries ([core known issues](block-design.md#24-known-issues-and-work-in-progress)). - No encryption of chunks in SeaweedFS or of traffic to it. - The NVMe/TCP H2CData bound check can wrap and panic the process on one malformed PDU; it is reachable from loopback ([core known issues](block-design.md#24-known-issues-and-work-in-progress)). - ublk at high density: unprivileged per-volume servers need a privileged control broker, which is not done. @@ -483,7 +484,7 @@ Measurements, not SLOs; each is the median of 3 runs. [Workspace measurements](. These are tracked for fixes. Gaps that apply to the whole codebase (authentication, formats, power-loss testing) are in the [core known issues](block-design.md#24-known-issues-and-work-in-progress). - **Moving back to a host with a surviving local file** fails closed with `ErrChunkStaleLocalRoot` (§7). **Follow-up:** recreate the local root from HEAD automatically instead of refusing. -- **Default RPO is unbounded.** No automatic cut is enabled by default (§2). +- **Default RPO is about a day, not a bound.** A holder takes a scheduled snapshot once a day by default (keeping 7), which is attempted, not guaranteed; the periodic cut is off by default (§2). - **The master is a single point of failure.** A master outage longer than the lease stops I/O on every workspace, and recovery is a forced move. - **Cut cost.** The barrier pause includes copying every non-staged candidate chunk (up to the dirty threshold, 512 chunks by default), held in RAM until upload. A 4 KiB write re-uploads its 4 MiB chunk, and a read miss after a move fetches the whole chunk with no request coalescing. **Proposed:** copy-before-write takes the copy out of the barrier (§5); it does not change the upload volume. - **GC is manual.** Needles uploaded without a persisted key binding are never reclaimed. An intent stamped by a host clock running ahead of the GC runner fails the whole pass (liveness, not safety). diff --git a/seaweed-block/docs/operations-manual.md b/seaweed-block/docs/operations-manual.md index d1a7a3053d..533fc883f4 100644 --- a/seaweed-block/docs/operations-manual.md +++ b/seaweed-block/docs/operations-manual.md @@ -356,8 +356,9 @@ Running the stop again on a stopped volume answers `not running (inactive): noth you know no guest uses the volume (for example, a killed VM), add `--force`. **blockmaster and the holders on one host.** A holder that loses blockmaster for about 20 s loses its lease. It -exits 75 and systemd restarts it 5 s later. Its unit `Wants=` blockmaster, so that restart starts a stopped -blockmaster again. To keep blockmaster down for maintenance, stop the volumes on that host first. +exits 75 and systemd restarts it 5 s later. From v1.1.1 the volume unit orders after blockmaster without starting it, +so a blockmaster stopped on purpose stays stopped. A v1.1.0 unit `Wants=` blockmaster, so that restart starts a +stopped blockmaster again: on v1.1.0, to keep blockmaster down for maintenance, stop the volumes on that host first. ## 5. Snapshots, restore and verification diff --git a/seaweed-block/docs/releases/README.md b/seaweed-block/docs/releases/README.md index e4139ebffc..5cbe012d99 100644 --- a/seaweed-block/docs/releases/README.md +++ b/seaweed-block/docs/releases/README.md @@ -4,8 +4,10 @@ Seaweed Block release notes use narrow product claims. Each alpha version names what a user or reviewer can actually run, what QA evidence backs it, and what is still outside the supported boundary. +What each release line supports, in one table: [Capabilities by release](capabilities.md). + - [v1.1.1 (unreleased)](v1.1.1.md) -- [v1.1 (unreleased)](v1.1.md) +- [v1.1](v1.1.md) (v1.1.0 released 2026-12-03) - [v1.0.1](v1.0.1.md) - [v1.0.0](v1.0.0.md) - [Cleaning changes in v1.0.1](cleaning-convergence.md) @@ -32,8 +34,8 @@ is still outside the supported boundary. - [NVMe/RDMA Capability Boundary](nvme-rdma-capability-boundary.md) - [WAL Multi-Block Record Opt-In Boundary](wal-multiblock-opt-in.md) -Agent workspace disks (`walstore-chunk`) are not part of any release yet; they -are a proof of concept. Their measurements are in +Agent workspace disks (`walstore-chunk`, single replica) are supported from +v1.0.0 ([capabilities by release](capabilities.md)). Their measurements are in [workspace measurements](../workspace-measurements.md) and their design in the [agent workspace design](../design/agent-workspace-design.md). diff --git a/seaweed-block/docs/releases/capabilities.md b/seaweed-block/docs/releases/capabilities.md new file mode 100644 index 0000000000..4531aab6ae --- /dev/null +++ b/seaweed-block/docs/releases/capabilities.md @@ -0,0 +1,18 @@ +# Capabilities by release + +What each release line supports, and under which conditions. The release notes ([v1.1](v1.1.md), +[v1.0.0](v1.0.0.md), [index](README.md)) hold the details and the run evidence; the Kubernetes rows follow +[Kubernetes status](../kubernetes-status.md), which has the full table. + +| Area | v1.0.x | v1.1.x | +|---|---|---| +| Agent workspace disks (`walstore-chunk`), single replica | Supported; new volumes up to 256 GiB; [known limits](v1.0.0.md#known-limits) | Supported; new volumes up to 1 TiB, above 256 GiB at format level 1 (new clusters start at it; upgraded clusters run `sw-block cluster finalize-format`), and not until every host runs v1.1 ([v1.1 notes](v1.1.md)); [known limitations](../operations-manual.md#11-known-limitations) | +| Replicated volumes (`replication_factor` above 1) | Preview ([replicated volumes preview](replicated-volumes-preview.md)) | Preview ([fixed time bounds kept in v1.1](v1.1.md#fixed-time-bounds-kept-in-v11)) | +| Kubernetes: Helm install, PVC provisioning, writer/reader check, read-only report and dashboard, CRD status and Events, support-bundle replay | Available (alpha) | Available (alpha); v1.1.0's generated blockvolume pod cannot start, so use the first v1.1.x release with the fix ([release images](../kubernetes-status.md#release-images)) | +| Kubernetes: RF=3 multi-volume, CSI reattach recovery, iSCSI ALUA/dm-multipath mounted failover, restart persistence with hostPath | Gated (supported lab) | Gated (supported lab); hostPath restart persistence becomes the chart default in [v1.1.1](v1.1.1.md) (unreleased) | +| Kubernetes: `SwBlockVolume` finalizer lifecycle owner, returned-replica ACK eligibility executor | Beta candidate | Beta candidate | +| Kubernetes: NVMe/TCP CSI multipath, returned-replica failback runtime, WAL multi-block record opt-in | Source-gated | Source-gated | +| Kubernetes: backup, snapshot and restore; returned-replica rebuild traffic | Planned | Planned | + +Not claimed in any release: production readiness, SLOs, or a published performance, RTO or RPO claim; see +[what you should not expect yet](../kubernetes-status.md#what-you-should-not-expect-yet) for Kubernetes. diff --git a/seaweed-block/docs/releases/v1.1.md b/seaweed-block/docs/releases/v1.1.md index ffeb882e96..8dcf277852 100644 --- a/seaweed-block/docs/releases/v1.1.md +++ b/seaweed-block/docs/releases/v1.1.md @@ -1,6 +1,8 @@ -# v1.1 (unreleased) +# v1.1 -These notes collect v1.1's changes as they land; v1.1 is not released. +v1.1.0 is released (2026-12-03); its notes as released are +[at the tag](https://github.com/seaweedfs/seaweed-block/blob/v1.1.0/docs/releases/v1.1.md). This file has been +edited on `main` since; the changes after v1.1.0 are in the [v1.1.1 notes](v1.1.1.md). ## Removed - The experimental engines `--durable-impl smartwal` and `--durable-impl parallel-walstore` are removed. A volume