seaweed-block: docs: point the snapshot delete known issue's heading and the manual at the interrupted delete (#13462)

* seaweed-block: docs: exiting or a no_progress answer does not stop a snapshot delete run

Review: a write the earlier run already sent to the filer can still land
after a no_progress answer, a timeout or the command's exit, so the note
asks for the earlier run's final answer before a resume, says waiting for
the filer only lowers the risk, and says resumes the volume host starts on
its own are outside the operator's control in v1.1.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: v1.1.1 has no reliable workaround for an overlapping snapshot delete

Review: waiting for a final answer or for the filer is not a workaround an
operator can rely on. The note now says there is none in v1.1.1, that not
re-running or resuming an interrupted snapshot delete by hand reduces
exposure, and that the fix is planned for v1.1.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: the volume host retries only its own delete, for up to 30 seconds

Review: the host never picks up a delete the command started; a delete
sent to the host is retried by the host itself for up to 30 seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: the outstanding filer write, not a live run, is what makes a resume unsafe

Review: the trigger described an earlier run that is still alive, so an
operator could read a terminated process as ruling it out. The trigger
and the advice now name the filer write the earlier run already sent,
which can land after a no_progress answer, a timeout or the command's
exit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: a paused run has not sent its page update yet

Review: the trigger now names both cases of an update that has not landed:
the earlier run's process paused before sending it, or the update sent
and not yet applied by the filer. Only in the second case need the
earlier run not still be running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: name the failures the volume host retries

Review: the host retries its own delete for up to 30 seconds only while an
attempt answers layout_busy or head_conflict; any other failure, including
no_progress, is returned at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: title the snapshot delete known issue by the interrupted delete

The Trigger now says the earlier run need not still be running, so a
heading about a delete that is still running suggests an exited command
is safe to resume.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: point the manual's snapshot-delete retry advice at the v1.1.1 known issue

The typed-error table told operators to keep retrying a snapshot delete
with the same request id after no_progress or layout_busy. The v1.1.1
notes now say resuming an interrupted delete is not safe, and a volume
that hit the issue answers layout_busy for good.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: give snapshot and snapshot-delete separate no_progress actions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: do not repeat an interrupted snapshot-delete after an unknown outcome

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* seaweed-block: docs: the host's last snapshot delete retry can start after 30 seconds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: pingqiu <pingqiu@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
authored and GitHub committed 2026-12-05 11:23:05 -08:00
1 parent e4321a3e89
commit 0a30cfada1
2 files changed
+7 -5

No files matched your search

+5 -3
View File
@@ -766,9 +766,9 @@ says otherwise.
| `remote_full` | cuts, snapshots | The chunk store has no space. | Add capacity, then retry. |
| `queue_full` | cuts, snapshots | Reclamation work must drain before another producer publishes. | Retry later. |
| `format_level_below_head_version` | cuts, in the holder log | The holder still runs at the format level it attached at, from before the finalize. | A v1.1.1 holder adopts the finalized level at its next lease renewal; restart a v1.1.0 holder (section 7). |
| `no_progress` (retryable) | snapshot, snapshot-delete | The operation has not settled: a snapshot stalled (for example right after a finalize, section 7), or a snapshot delete's work did not finish in this call. Retrying with the same request id settles it, which can take several minutes. | Keep retrying with the same id. |
| `no_progress` (retryable) | snapshot, snapshot-delete | The operation has not settled: a snapshot stalled (for example right after a finalize, section 7), or a snapshot delete's work did not finish in this call. Retrying a snapshot with the same request id settles it, which can take several minutes. | For snapshot, keep retrying with the same id. For snapshot-delete, do not resume it by hand: a resume can stop the volume's snapshot deletes and cleaning (see the snapshot delete known issue in the [v1.1.1 notes](releases/v1.1.1.md)). |
| `snapshot_has_dependents` (exit 1) | snapshot-delete | A restored volume depends on the snapshot. Not retryable: retrying does not help until that volume is deleted. | Delete the dependent volume first (section 6), then run the same command with the same request id; or keep the snapshot. |
| `layout_busy` (retryable, exit 1) | snapshot-delete | `layout: another transaction is open`: an earlier snapshot delete on the same volume waits for its cleaning pass, which can take up to `--chunk-maintenance-interval` (1 h). | Keep retrying with the same id; it settles after that pass. |
| `layout_busy` (retryable, exit 1) | snapshot-delete | `layout: another transaction is open`: an earlier snapshot delete on the same volume waits for its cleaning pass, which can take up to `--chunk-maintenance-interval` (1 h). | Keep retrying with the same id; it settles after that pass. If it does not settle after a cleaning pass, see the snapshot delete known issue in the [v1.1.1 notes](releases/v1.1.1.md). |
| `outcome_unknown` | various | The request may or may not have taken effect. | See below. |
| `snapshot_exists`, `snapshot_limit` | snapshot | The name is taken, or there are too many snapshots. | Use another name, or delete old snapshots. |
| `snapshot_not_found` | restore | No snapshot has that name. (To see it, you need a target in the spec; there is no need to provoke it.) | Check `ops chunk snapshots`. |
@@ -784,7 +784,9 @@ says otherwise.
- **Commands with `--request-id`** (`ops chunk snapshot`, `snapshot-delete`, `restore`, `volume-delete`,
`ops workspace move` with or without `--clean`, and `ops workspace force-move`): repeat the command with the same
request id until it answers. The answer settles what happened. This can take several minutes.
request id until it answers. The answer settles what happened. This can take several minutes. Do not repeat an
interrupted `snapshot-delete` by hand: a resume can stop the volume's snapshot deletes and cleaning (see the snapshot
delete known issue in the [v1.1.1 notes](releases/v1.1.1.md)).
- **`ops chunk cut`** has no request id. Repeat the cut: a later cut gives a later durable point. It does not tell you
whether the earlier cut committed; for that, check the volume's snapshots and its last cut in status.
- **`volume stop`**: run the same `sudo /usr/local/bin/sw-block volume stop <volume>` again. Before its cut succeeds
+2 -2
View File
@@ -53,11 +53,11 @@ v1.1.1 is a fix release of the v1.1 line. None of its changes alters a stored fo
- No acknowledged write is lost: under these profiles every replica holds every acknowledged write.
- What to do: after `sw-block ops failover`, read the volume's line with `sw-block ops volumes --master-api <addr> -o json`; if `primary_replica` moved again, repeat the failover with `--expect-current <primary_replica>@<epoch>`. No read confirms that the primary stays: blockmaster applies the queued rebalance when its assignment queue reaches it, not at a fixed time, so it can still move the primary after any read, and the guest is then started again on the new primary. A fix is planned for a later v1.1.x release.
## Known issue: resuming a snapshot delete that is still running can stop the volume's snapshot deletes and cleaning
## Known issue: resuming an interrupted snapshot delete can stop the volume's snapshot deletes and cleaning
- **Trigger:** On a volume whose HEAD is version 1 (a version-0 HEAD takes v1.0's name-only delete and is not affected), two runs of the same snapshot delete overlap. A run is resumed (`--request-id`, as a `no_progress` answer suggests, or by the volume host) while an earlier run of the same delete still has a page update that has not landed: its process is paused before sending it, or it already sent it and the filer has not applied it, and a cleaning pass runs in between. In the second case the earlier run need not still be running: the write it already sent is what matters.
- **Effect:** the snapshot delete is recorded with an intent page whose data was freed. From then on every snapshot delete on that volume fails with `layout_busy`, a retryable answer that does not clear on retry, and the volume's cleaning stops, so space is not reclaimed on that volume. The volume's data and its other snapshots stay readable.
- **What to do:** v1.1.1 has no reliable workaround. To reduce exposure, do not re-run or resume an interrupted snapshot delete by hand (for example with `--request-id` after a `no_progress` answer). After a `no_progress` answer, a timeout, or the command's exit, a filer write the earlier run already sent can still land, so a later resume is not safe. On a volume whose HEAD is version 1, a delete sent to the volume host is retried by the host itself for about 30 seconds, but only while an attempt answers `layout_busy` or `head_conflict`; any other failure, including `no_progress`, is returned at once. On a version-0 HEAD the host runs v1.0's name-only delete, which it does not retry. The fix is planned for v1.1.2.
- **What to do:** v1.1.1 has no reliable workaround. To reduce exposure, do not re-run or resume an interrupted snapshot delete by hand (for example with `--request-id` after a `no_progress` answer). After a `no_progress` answer, a timeout, or the command's exit, a filer write the earlier run already sent can still land, so a later resume is not safe. On a volume whose HEAD is version 1, a delete sent to the volume host is retried by the host itself for about 30 seconds, but only while an attempt answers `layout_busy` or `head_conflict`; any other failure, including `no_progress`, is returned at once. The last retry can start just after the 30 seconds and run longer. On a version-0 HEAD the host runs v1.0's name-only delete, which it does not retry. The fix is planned for v1.1.2.
- **Recovery:** none in v1.1.1. A volume that already shows this needs a repair that is planned for a later release. A fix that prevents the record is planned for v1.1.2.
## Upgrade notes