diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index ff93d1863a..63afb9c973 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -224,6 +224,17 @@ 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 1.0.1. +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 +server bounds one request at 5 minutes whatever `--timeout` says, which is about 150 GiB changed. 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 +publishes it; the volume's data is unchanged and stays queued for the next cut, and what the request uploaded is +removed by a later cleaning. 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. The rerun uploads the changed data +again. A longer or derived default is planned for 1.0.1. + ## Moving a volume, and returning it [Volume lifecycle](volume-lifecycle.md): diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index a3dc33617e..6066d57ee8 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -63,6 +63,9 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe ## Limits - 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 + the server at most 5 minutes per request: pass `--timeout`, and rerun a timed-out snapshot with the same name (see + the operator guide). - Snapshot names up to 64 bytes; up to 4 labels per snapshot (keys up to 24 bytes, values up to 32 bytes). - Up to 4 restore targets per snapshot and 16 per volume at a time. - A volume's size, block size and chunk size are fixed at creation; resize is not supported, and a restore target