From bc0e640e756a74b413d666059e95eed9ce244ca9 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 06:21:15 -0800 Subject: [PATCH] docs: replicated volumes are a preview in v1.0, with their limits The operator guide gains "Replicated volumes (preview)", the standalone page's replicated section points to it, and the release notes gain a note. The limits, in operator terms: under a writing guest a replica that misses writes (restarted, or fenced by a failover) is not caught up by itself and must be wiped and re-added; a durability shortfall reaches the guest as an immediate I/O error, not a wait; sync-all refuses writes while any replica is down; a target that is no longer the primary does not fail the guest over to another path (no multipath in v1.0); the same holds on Kubernetes RF3. Acknowledged writes read back intact throughout. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 24 +++++++++++++++++++ seaweed-block/docs/releases/README.md | 1 + .../releases/replicated-volumes-preview.md | 18 ++++++++++++++ seaweed-block/docs/standalone-deployment.md | 6 ++++- 4 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 seaweed-block/docs/releases/replicated-volumes-preview.md diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index ff93d1863a..f090acae86 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -232,6 +232,30 @@ planned for 1.0.1. - the forced move when a host is lost, with the lost range; - which of these procedures run end to end, and which do not. +## Replicated volumes (preview) + +Replicated volumes (`replication_factor` above 1) are a preview in v1.0: they keep acknowledged data, but under a +writing guest a single fault can stop writes until an operator acts. The limits, as they show on a running system: + +- **A replica that misses writes is not caught up by itself.** While the guest writes, the primary keeps only a few + write-ahead-log entries beyond its last checkpoint. A replica that falls behind them (it was restarted, or a + failover fenced it) needs a rebuild, and a rebuild onto the data it already has is refused + (`re-add with a retained base is not supported in v1`). The replica stays out (`degraded`) until you wipe its data + directory and add it again. +- **A durability shortfall is an immediate I/O error, not a wait.** When the replicas that must acknowledge a write + cannot (`sync-quorum`: a quorum; `sync-all`: every replica), the write fails at once and the guest gets `EIO`. + With three replicas and `sync-quorum`, one replica left out as above plus one more fault loses the quorum; a + single failover can already leave too few replicas, depending on timing. +- **`sync-all` refuses every write while any replica is down.** It needs every replica for each write. +- **No path failover in the guest.** A guest connects to one target, and a target that is no longer the primary + answers with a status the guest does not retry: its I/O fails with `EIO` instead of moving to another path. There is + no multipath for replicated volumes in v1.0; after a failover the guest is started on the new primary's host (see + [host connect settings](#host-connect-settings)). +- **The same holds on Kubernetes** for RF3 volumes. + +Acknowledged writes were read back intact in every run that found these limits. What the release supports without +these limits is the single-replica volume. + ## When a host is lost The steps below are for a single-replica volume. A `sync-quorum` or `sync-all` diff --git a/seaweed-block/docs/releases/README.md b/seaweed-block/docs/releases/README.md index 67b832bef6..2ee8a45c10 100644 --- a/seaweed-block/docs/releases/README.md +++ b/seaweed-block/docs/releases/README.md @@ -7,6 +7,7 @@ is still outside the supported boundary. - [Holder identity and pre-release upgrades](holder-identity.md) - [One live process per volume per host](one-process-per-volume.md) - [Local disk headroom at volume create](local-disk-headroom.md) +- [Replicated volumes in v1.0: a preview](replicated-volumes-preview.md) - [v0.1 Alpha — Kubernetes Block Foundation](v0.1-alpha.md) - [v0.2 Alpha — Day-1 Activation And First Volume](v0.2-alpha.md) - [v0.3 Alpha — Helm Install And Observable First Volume](v0.3-alpha.md) diff --git a/seaweed-block/docs/releases/replicated-volumes-preview.md b/seaweed-block/docs/releases/replicated-volumes-preview.md new file mode 100644 index 0000000000..7470aeb19e --- /dev/null +++ b/seaweed-block/docs/releases/replicated-volumes-preview.md @@ -0,0 +1,18 @@ +# Replicated volumes in v1.0: a preview + +Replicated volumes (`replication_factor` above 1, standalone and Kubernetes RF3) ship in v1.0 as a preview. The +single-replica volume is the supported configuration. In every run behind this note, acknowledged writes read back +intact; the limits are about availability under a writing guest: + +1. **A replica that misses writes is not caught up by itself.** Under steady writes the primary retains only a few + log entries beyond its checkpoint; a replica that falls behind (restarted, or fenced by a failover) needs a + rebuild, and a rebuild onto its retained data is refused in v1. It stays degraded until the operator wipes its + data directory and re-adds it. +2. **A durability shortfall reaches the guest as an immediate I/O error.** When the required replicas cannot + acknowledge (`sync-quorum`: a quorum, `sync-all`: all), the write fails at once (`EIO`). With three replicas and + `sync-quorum`, one left-out replica plus one more fault loses the quorum; one failover can be enough. +3. **`sync-all` refuses writes while any replica is down.** +4. **No path failover.** A target that is no longer the primary answers with a status the guest does not retry, so + there is no multipath failover in v1.0; the guest is started again on the new primary. + +What to do: see [replicated volumes (preview)](../operator-guide.md#replicated-volumes-preview) in the operator guide. diff --git a/seaweed-block/docs/standalone-deployment.md b/seaweed-block/docs/standalone-deployment.md index 66957b48f1..cefc74dea4 100644 --- a/seaweed-block/docs/standalone-deployment.md +++ b/seaweed-block/docs/standalone-deployment.md @@ -181,7 +181,11 @@ Do these steps before you start blockvolume: --listen 192.0.2.10:9180 ``` - **Replicated volumes in this release:** + **Replicated volumes in this release** are a preview: under a writing guest + a replica that misses writes is not caught up by itself, a durability + shortfall is an immediate I/O error, and `sync-all` refuses writes while any + replica is down (see + [replicated volumes (preview)](operator-guide.md#replicated-volumes-preview)). - **One replicated factor per cluster.** `--expected-slots-per-volume` is one number for the whole cluster, and blockmaster decides only replicated volumes of that factor.