mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
docs: restore-target delete --timeout capped at 5m; first-cut known limit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
092aa8c69e
commit
f127bc4a98
2 files changed
+11
-6
No files matched your search
@@ -196,9 +196,10 @@ refuses the next step. Resolve snapshot dependents and rerun with the same reque
|
||||
the command asks blockmaster for a fresh no-live-lease proof before the HEAD compare-and-swap.
|
||||
A late upload by a dead holder into a deleted volume can remain; rerun volume-delete to sweep it.
|
||||
|
||||
Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured), so pass
|
||||
`--timeout` of at least 2 x (size / 1.5 GB/s), e.g. 6m for 256 GiB; the default 120 s covers up to about 84 GiB.
|
||||
An `outcome_unknown` answer there means retry with a larger `--timeout`; the volume keeps serving and nothing is lost.
|
||||
Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured). The
|
||||
default `--timeout` of 120 s covers up to about 84 GiB; above that, pass `--timeout 5m` (the server's limit for one
|
||||
request). At the 256 GiB maximum the first cut takes about 3 min. An `outcome_unknown` answer there means retry with
|
||||
a larger `--timeout`; the volume keeps serving and nothing is lost.
|
||||
|
||||
|
||||
[Standalone deployment: snapshots, restore and space](standalone-deployment.md#snapshots-restore-and-space-walstore-chunk):
|
||||
|
||||
@@ -74,9 +74,10 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe
|
||||
commit names fewer chunks.
|
||||
- Keep free capacity in SeaweedFS: while it is full, snapshots, cuts and the final cut of a stop or move fail with
|
||||
a retryable error; guest writes continue and are kept; free space, then retry.
|
||||
- Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured), so pass
|
||||
`--timeout` of at least 2 x (size / 1.5 GB/s), e.g. 6m for 256 GiB; the default 120 s covers up to about 84 GiB. An
|
||||
`outcome_unknown` answer there means retry with a larger `--timeout`; the volume keeps serving and nothing is lost.
|
||||
- Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured). The
|
||||
default `--timeout` of 120 s covers up to about 84 GiB; above that, pass `--timeout 5m` (the server's limit for one
|
||||
request). At the 256 GiB maximum the first cut takes about 3 min. An `outcome_unknown` answer there means retry
|
||||
with a larger `--timeout`; the volume keeps serving and nothing is lost.
|
||||
- Up to 10 snapshots per volume; one more is refused with `snapshot_limit` and changes nothing (delete a snapshot or
|
||||
let retention prune).
|
||||
- A snapshot takes about 2 s per GiB changed since the last cut (64 GiB: 122 s). The CLI waits 60 s by default and
|
||||
@@ -109,6 +110,9 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe
|
||||
completes. Retry with the same request id; there is no bypass.
|
||||
|
||||
## Known limits
|
||||
- A restore target's first cut reads every filled byte, so it scales with disk read rate (NVMe measured about
|
||||
1.4 GiB/s: 256 GiB in about 3 min). In v1.0.0 a restore target needs its filled size <= about 4 min x your disk's
|
||||
read rate, otherwise its detach and delete cannot finish and a retry does not converge; this is removed in 1.0.1.
|
||||
- If the outcome of a chunk upload is unknown (for example the connection drops mid-request), the object may remain in
|
||||
SeaweedFS unreferenced; the volume's cleaning does not reclaim it. `weed shell volume.fsck -collection <block
|
||||
collection> -v` lists such objects; do not use its delete option on block data.
|
||||
|
||||
Reference in new issue
Block a user