From bc0e640e756a74b413d666059e95eed9ce244ca9 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 06:21:15 -0800 Subject: [PATCH 1/7] 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. From 352b9c93ccc7ed878d87153e819343f295fc5006 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 06:32:30 -0800 Subject: [PATCH 2/7] docs: replicated preview, the operator's procedure and its limits - Acknowledged data is kept in the acknowledging modes only; best-effort can lose the writes acknowledged last in a failover. - Wipe and add again is written out (stop the unit, clear its --durable-root, start it again; the replica rebuilds empty) and marked as not a tested procedure in this preview; an interrupted re-add needs another wipe. - --wal-retention-lsns does not help in this release. - Kubernetes has no remedy for a left-out replica in this preview. - The release note says no store format change is planned for the release that lifts the preview, as a plan, not a guarantee. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 24 +++++++++++++------ .../releases/replicated-volumes-preview.md | 12 +++++++--- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index f090acae86..7537a60248 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -234,14 +234,23 @@ planned for 1.0.1. ## 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: +Replicated volumes (`replication_factor` above 1) are a preview in v1.0. In the acknowledging modes (`sync-quorum`, +`sync-all`) they keep acknowledged data; the default `best-effort` acknowledges a write with no replica and can lose +the writes acknowledged last in a failover. 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. + (`re-add with a retained base is not supported in v1`). The replica stays out (`degraded`) until it is wiped and + added again. `--wal-retention-lsns` does not help in this release: with it set, a lagging replica still always + needed a rebuild. + - **Wipe and add again (not a tested procedure in this preview):** on the replica's host, stop its `blockvolume` + unit, remove everything under its `--durable-root`, and start the unit again with the same flags. It then + starts empty and takes a full rebuild from the primary; until that ends, the primary's status lists it as not + healthy, and the volume keeps serving while the remaining replicas meet the ack mode. + - **If the re-add stops midway** (the rebuild is interrupted), the replica refuses every later rebuild: wipe it + 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 @@ -251,10 +260,11 @@ writing guest a single fault can stop writes until an operator acts. The limits, 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. +- **The same holds on Kubernetes** for RF3 volumes. This preview has no remedy for a pod-backed replica that is + left out: it stays out, and the volume serves while the remaining replicas meet the ack mode. -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. +In the acknowledging modes, 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 diff --git a/seaweed-block/docs/releases/replicated-volumes-preview.md b/seaweed-block/docs/releases/replicated-volumes-preview.md index 7470aeb19e..6d248d0e53 100644 --- a/seaweed-block/docs/releases/replicated-volumes-preview.md +++ b/seaweed-block/docs/releases/replicated-volumes-preview.md @@ -1,13 +1,15 @@ # 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: +single-replica volume is the supported configuration. In the acknowledging modes (`sync-quorum`, `sync-all`), +acknowledged writes read back intact in every run behind this note; the default `best-effort` can lose the writes +acknowledged last in a failover. 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. + data directory and re-adds it (not a tested procedure in this preview; an interrupted re-add needs another wipe). + `--wal-retention-lsns` does not help in this release. On Kubernetes there is no remedy in this preview. 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. @@ -15,4 +17,8 @@ intact; the limits are about availability under a writing guest: 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. +**Carrying over.** No change to the store format is planned for the release that lifts the preview, so a replicated +volume created under it is expected to carry over without re-creating it. That release's design is still under +review, so this is a plan, not a guarantee. + What to do: see [replicated volumes (preview)](../operator-guide.md#replicated-volumes-preview) in the operator guide. From 517c17c0ca961e5d474e717390c2a5a59e15f799 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 07:17:26 -0800 Subject: [PATCH 3/7] docs: replicated preview, no snapshots, restore or moves v1.0 is two designs: the single-replica walstore-chunk volume with the object store (snapshots, restore, moves, object-store copy) and replicated volumes on local stores without any of those. walstore-chunk refuses replication at start and on any assignment with replica slots, because a chunk snapshot takes its position from the local log, which replicas may not hold. The preview section and the release note say so. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 7 +++++++ seaweed-block/docs/releases/replicated-volumes-preview.md | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 7537a60248..cb6759febd 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -239,6 +239,13 @@ Replicated volumes (`replication_factor` above 1) are a preview in v1.0. In the the writes acknowledged last in a failover. Under a writing guest a single fault can stop writes until an operator acts. The limits, as they show on a running system: +- **No snapshots, restore, moves or object-store copy.** v1.0 has two designs: the single-replica volume with the + object store (`--durable-impl walstore-chunk`: snapshots, restore, moves) and replicated volumes on local stores + without any of those. `walstore-chunk` refuses replication at start + (`--durable-impl=walstore-chunk is single-replica: --replication-ack="sync-quorum" needs replica peers (...)`) and + refuses any assignment with replica slots, because a chunk snapshot takes its position from the local log, which + the replicas may not hold. + - **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 diff --git a/seaweed-block/docs/releases/replicated-volumes-preview.md b/seaweed-block/docs/releases/replicated-volumes-preview.md index 6d248d0e53..6323ec0976 100644 --- a/seaweed-block/docs/releases/replicated-volumes-preview.md +++ b/seaweed-block/docs/releases/replicated-volumes-preview.md @@ -3,7 +3,10 @@ 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 the acknowledging modes (`sync-quorum`, `sync-all`), acknowledged writes read back intact in every run behind this note; the default `best-effort` can lose the writes -acknowledged last in a failover. The limits are about availability under a writing guest: +acknowledged last in a failover. v1.0 is two designs: the single-replica volume with the object store (`walstore-chunk`: snapshots, restore, +moves, object-store copy), and replicated volumes on local stores, which have none of those (`walstore-chunk` +refuses replication at start and on any assignment with replica slots). 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 From 0391c68c200e7c91cf278ff52ad84f6206955180 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 09:20:43 -0800 Subject: [PATCH 4/7] docs: replicated preview, the v1.0.1 scope v1.0.1 is planned to support RF3 sync-quorum installed on hosts (writes continue through one replica's fault, which returns by itself) and RF2 sync-quorum with its limit (no acknowledged write lost, automatic failover, writes stop while either replica is out); sync-all and Kubernetes RF3 stay a preview; a partitioned old primary may serve older reads until its lease ends. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 10 ++++++++++ .../docs/releases/replicated-volumes-preview.md | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index cb6759febd..b3aa5a4410 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -273,6 +273,16 @@ acts. The limits, as they show on a running system: In the acknowledging modes, 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. +**Planned for v1.0.1.** Two replicated configurations are planned to become supported: +- **RF3 `sync-quorum`, installed on hosts:** writes continue through one replica's fault, and that replica returns + by itself. +- **RF2 `sync-quorum`, with its limit:** no acknowledged write is lost and failover is automatic, but writes stop + while either replica is out. + +`sync-all` and Kubernetes RF3 stay a preview. In every replicated configuration, an old primary cut off from +blockmaster by a partition may keep serving reads of older data until its lease ends. + + ## 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/replicated-volumes-preview.md b/seaweed-block/docs/releases/replicated-volumes-preview.md index 6323ec0976..590cf6e262 100644 --- a/seaweed-block/docs/releases/replicated-volumes-preview.md +++ b/seaweed-block/docs/releases/replicated-volumes-preview.md @@ -20,6 +20,12 @@ writing guest: 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. +**Planned for v1.0.1.** Supported: RF3 `sync-quorum` installed on hosts (writes continue through one replica's +fault, and that replica returns by itself), and RF2 `sync-quorum` with its limit (no acknowledged write is lost and +failover is automatic, but writes stop while either replica is out). `sync-all` and Kubernetes RF3 stay a preview. In +every replicated configuration, an old primary cut off from blockmaster by a partition may keep serving reads of +older data until its lease ends. + **Carrying over.** No change to the store format is planned for the release that lifts the preview, so a replicated volume created under it is expected to carry over without re-creating it. That release's design is still under review, so this is a plan, not a guarantee. From 63daf16d90f197bc6a46393d57420a4b8b15f444 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 12:51:41 -0800 Subject: [PATCH 5/7] docs: under best-effort a lagging replica can still show healthy A best-effort write waits for no replica, so a replica whose connection dropped can keep showing healthy while it misses writes; use sync-quorum when the replicas must hold the data. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 3 +++ seaweed-block/docs/releases/replicated-volumes-preview.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index b3aa5a4410..bed4af23f6 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -263,6 +263,9 @@ acts. The limits, as they show on a running system: 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. +- **Under `best-effort` (the default), a replica can fall behind while it shows `healthy`.** A `best-effort` write + waits for no replica, so a replica whose connection dropped can keep showing `healthy` in the primary's status + while it misses writes. Use `sync-quorum` when the replicas must hold the data. - **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 diff --git a/seaweed-block/docs/releases/replicated-volumes-preview.md b/seaweed-block/docs/releases/replicated-volumes-preview.md index 590cf6e262..499fc86c53 100644 --- a/seaweed-block/docs/releases/replicated-volumes-preview.md +++ b/seaweed-block/docs/releases/replicated-volumes-preview.md @@ -19,6 +19,9 @@ writing guest: 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. +5. **Under `best-effort`, a replica can fall behind while it shows `healthy`.** A `best-effort` write waits for no + replica, so a replica whose connection dropped can keep showing `healthy` while it misses writes. Use `sync-quorum` + when the replicas must hold the data. **Planned for v1.0.1.** Supported: RF3 `sync-quorum` installed on hosts (writes continue through one replica's fault, and that replica returns by itself), and RF2 `sync-quorum` with its limit (no acknowledged write is lost and From c64eafec9e1cf14d5e282662dbdc4c5317a004d7 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 13:20:42 -0800 Subject: [PATCH 6/7] docs: a best-effort volume is not failed over automatically blockmaster holds a best-effort volume on a lost primary; only the operator's forced failover moves it, which may lose the writes acknowledged last. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 6 ++++-- seaweed-block/docs/releases/replicated-volumes-preview.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index bed4af23f6..60dad66a66 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -235,8 +235,10 @@ planned for 1.0.1. ## Replicated volumes (preview) Replicated volumes (`replication_factor` above 1) are a preview in v1.0. In the acknowledging modes (`sync-quorum`, -`sync-all`) they keep acknowledged data; the default `best-effort` acknowledges a write with no replica and can lose -the writes acknowledged last in a failover. Under a writing guest a single fault can stop writes until an operator +`sync-all`) they keep acknowledged data. The default `best-effort` acknowledges a write with no replica, and a +`best-effort` volume is not failed over automatically: blockmaster holds it, and only the operator's forced failover +(`sw-block ops failover`) moves it, which may lose the writes acknowledged last. +Under a writing guest a single fault can stop writes until an operator acts. The limits, as they show on a running system: - **No snapshots, restore, moves or object-store copy.** v1.0 has two designs: the single-replica volume with the diff --git a/seaweed-block/docs/releases/replicated-volumes-preview.md b/seaweed-block/docs/releases/replicated-volumes-preview.md index 499fc86c53..b365871d68 100644 --- a/seaweed-block/docs/releases/replicated-volumes-preview.md +++ b/seaweed-block/docs/releases/replicated-volumes-preview.md @@ -2,8 +2,10 @@ 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 the acknowledging modes (`sync-quorum`, `sync-all`), -acknowledged writes read back intact in every run behind this note; the default `best-effort` can lose the writes -acknowledged last in a failover. v1.0 is two designs: the single-replica volume with the object store (`walstore-chunk`: snapshots, restore, +acknowledged writes read back intact in every run behind this note. A volume in the default `best-effort` is not +failed over automatically: blockmaster holds it, and only the operator's forced failover (`sw-block ops failover`) +moves it, which may lose the writes acknowledged last. +v1.0 is two designs: the single-replica volume with the object store (`walstore-chunk`: snapshots, restore, moves, object-store copy), and replicated volumes on local stores, which have none of those (`walstore-chunk` refuses replication at start and on any assignment with replica slots). The limits are about availability under a writing guest: From 88d107791f4975cc89db7fcf17bb742f67c4a81d Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 13:27:37 -0800 Subject: [PATCH 7/7] docs: confirm the left-out replica before a wipe; never on the primary's host Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 3 ++- seaweed-block/docs/releases/replicated-volumes-preview.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 60dad66a66..d53fdadf67 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -254,7 +254,8 @@ acts. The limits, as they show on a running system: (`re-add with a retained base is not supported in v1`). The replica stays out (`degraded`) until it is wiped and added again. `--wal-retention-lsns` does not help in this release: with it set, a lagging replica still always needed a rebuild. - - **Wipe and add again (not a tested procedure in this preview):** on the replica's host, stop its `blockvolume` + - **Wipe and add again (not a tested procedure in this preview):** first confirm from the primary's status which + server is the left-out replica; never run this on the primary's host. On the replica's host, stop its `blockvolume` unit, remove everything under its `--durable-root`, and start the unit again with the same flags. It then starts empty and takes a full rebuild from the primary; until that ends, the primary's status lists it as not healthy, and the volume keeps serving while the remaining replicas meet the ack mode. diff --git a/seaweed-block/docs/releases/replicated-volumes-preview.md b/seaweed-block/docs/releases/replicated-volumes-preview.md index b365871d68..7f7376c3fd 100644 --- a/seaweed-block/docs/releases/replicated-volumes-preview.md +++ b/seaweed-block/docs/releases/replicated-volumes-preview.md @@ -13,7 +13,8 @@ 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 (not a tested procedure in this preview; an interrupted re-add needs another wipe). + data directory and re-adds it, after confirming from the primary's status which server it is; never on the + primary's host (not a tested procedure in this preview; an interrupted re-add needs another wipe). `--wal-retention-lsns` does not help in this release. On Kubernetes there is no remedy in this preview. 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