mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
docs(block): the rack-outage known limitation in the reviewed wording; degraded growth scoped to the SeaweedFS releases that have it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c2ff7a166b
commit
cdc8aedfdc
1 file changed
+24
-9
@@ -917,15 +917,30 @@ In every v1.1.x:
|
||||
- **The first restart right after a large fill** can take seconds longer than later restarts, while the kernel writes
|
||||
back the fill.
|
||||
- **One filer per chunk store.** It is a single point of availability for cuts, snapshots and moves.
|
||||
- **Checkpoints during a SeaweedFS rack or data center outage.** While a SeaweedFS data center or rack is down and
|
||||
the replica placement cannot be satisfied (SeaweedFS releases up to 4.56), guest I/O continues, but checkpoints,
|
||||
snapshots, restores and plain detach cannot complete. A cut or a plain detach answers cut_stalled (retryable)
|
||||
after its progress window. A plain detach that stalls keeps that volume's guest I/O stopped until it settles; the
|
||||
volume host completes it once SeaweedFS recovers, and repeating the same plain detach then finishes it. A snapshot
|
||||
reports no_progress and resumes with the same --request-id. A restore answers outcome_unknown and leaves a pending
|
||||
target to resume or abort. Nothing partial is published. Avoid starting a plain detach or a restore while such an
|
||||
outage lasts.
|
||||
- **Fewer copies during a SeaweedFS topology outage.** While a data center, rack or server is down, SeaweedFS can
|
||||
- **SeaweedFS rack or data center outage (SeaweedFS releases up to 4.56).** When a SeaweedFS data center or rack is down
|
||||
and the chunk replication cannot be placed, SeaweedFS does not refuse the upload; each upload waits until it times out.
|
||||
|
||||
- **Guest I/O** continues.
|
||||
- **Checkpoints and snapshots** cannot complete:
|
||||
- a cut answers `cut_stalled` (retryable) after its progress window;
|
||||
- a snapshot reports `no_progress`; repeat it with the same `--request-id` after recovery;
|
||||
- nothing partial is published.
|
||||
- **A restore** answers `outcome_unknown` and leaves its target pending; resume it with the same request ID after
|
||||
recovery.
|
||||
- **A plain detach** stops guest I/O for its whole window (the progress window, 5 minutes by default), then answers `cut_stalled` with the text
|
||||
`detach outcome unknown; I/O stays stopped`.
|
||||
- That text describes the moment of the answer. Next, the volume host proves that nothing was published, resumes
|
||||
serving and logs `durable: detach of volume=V aborted, nothing published; serving resumed`.
|
||||
- This is a log-confirmed abort, as in [Recover an unknown plain detach](volume-lifecycle.md#recover-an-unknown-plain-detach).
|
||||
- After the outage, wait for the old handle's retention to expire, repeat steps 1 and 2 and detach again.
|
||||
- If that log line does not appear, for example because the filer is also unreachable, keep the writer stopped and
|
||||
leave the volume host running. It keeps retrying the settlement, and resumes serving or reports the seal once the
|
||||
filer answers.
|
||||
|
||||
Do not start plain detaches or restores during the outage. SeaweedFS releases that carry degraded volume growth
|
||||
complete these operations with fewer copies.
|
||||
- **Fewer copies during a SeaweedFS topology outage** (from the first SeaweedFS release that grows degraded volumes
|
||||
(#13178; not in 4.56 or earlier)). While a data center, rack or server is down, SeaweedFS can
|
||||
grow a volume with fewer copies than `--chunk-replication` asks for (at least 2), so checkpoints taken then hold
|
||||
fewer copies until `volume.fix.replication -apply` runs: after `lock` in `weed shell`, or from the default admin
|
||||
script job when `weed admin` runs with a worker. Without `-apply` the command only lists these volumes as under
|
||||
|
||||
Reference in new issue
Block a user