docs: operator guide states the 5-minute request bound, not measured figures

The restore-target delete and the snapshot timeout paragraphs keep the
contract that follows from the server's 5-minute bound for one request and
drop the figures measured before the performance round.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 8719e9cace)
This commit is contained in:
pingqiu committed 2026-11-30 02:46:20 -08:00
1 parent 6113f8d345
commit 108bc97677
1 file changed
+7 -9
+7 -9
View File
@@ -352,12 +352,11 @@ that never served (step 4 of
delete means this case; retrying the delete alone does not help. Until the release, the source's delete answers
`snapshot_has_dependents` ("has 1").
Deleting a restore target: its first cut compares every restored chunk locally (about 1.4 GiB/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 the volume
Deleting a restore target: its first cut compares every restored chunk locally, so it reads the target's whole filled
size. The server bounds one request at 5 minutes: pass `--timeout 5m` for a large target. An `outcome_unknown` answer there means the volume
has stopped I/O while its holder settles the outcome in the background; it resumes serving when that settles (the
holder logs it), and nothing acknowledged is lost. Then retry the delete with `--timeout 5m`. A restore target's
filled size must be at most about 4 min x your disk's read rate for its first cut to finish. On disks slower than NVMe the 256 GiB figure does not hold; see the v1.0.1 Known limits.
holder logs it), and nothing acknowledged is lost. Then retry the delete with `--timeout 5m`. The first cut must read the filled size within one
5-minute request, so the filled size divided by your disk's read rate must fit in it; see the v1.0.1 Known limits.
[Standalone deployment: snapshots, restore and space](standalone-deployment.md#snapshots-restore-and-space-walstore-chunk):
@@ -387,8 +386,7 @@ the snapshot name exists only after a request for it succeeds (check with `sw-bl
(`TestKnownDefectSnapshotRetryAfterAGenuineConflictCommitsTheDataUnnamed`). A retry that names the snapshot at once is
planned for a later release.
A snapshot's time grows with the data changed since the volume's last cut: 64 GiB changed took 122 s (about 2 s
per GiB). `sw-block ops chunk snapshot` waits 60 s by default, so pass `--timeout` above the expected time; the
A snapshot's time grows with the data changed since the volume's last cut. `sw-block ops chunk snapshot` waits 60 s by default, so pass `--timeout` above the expected time; the
server bounds one request at 5 minutes whatever `--timeout` says. A request that runs
out of time answers a retryable code: `remote_unavailable` or `deadline_exceeded` when it ran out before its commit,
`outcome_unknown` when it ran out during the commit. Before the commit, the name is withdrawn and no later cut
@@ -396,8 +394,8 @@ publishes it; the volume's data is unchanged and stays queued for the next cut.
After `outcome_unknown`, the commit may have landed with the name.
Rerun the snapshot with the same name and a larger `--timeout`: a name already in HEAD is answered with the
snapshot it names, so a rerun never takes a second one. A rerun keeps what a timed-out request already
uploaded: it finds those chunks and sends only the rest. More than about 150 GiB changed needs more than one 5-minute
request: at the 256 GiB maximum a snapshot published on its second request, after about 9 minutes in all. With a
uploaded: it finds those chunks and sends only the rest. A large change can need more than one 5-minute
request. With a
`--timeout` above 5 minutes (for example `--timeout 15m`), `sw-block ops chunk snapshot`, `cut` and `detach` repeat
the 5-minute request with the same body until it answers or the timeout ends; with a shorter one, rerun until it
answers. A scheduled snapshot retries by itself (after 1 minute, doubling to 1 hour).