From 20854b3a662bf5a99300d3be2e7fd3720ebb19d4 Mon Sep 17 00:00:00 2001 From: Ping Qiu Date: Sat, 5 Dec 2026 09:01:26 -0800 Subject: [PATCH] seaweed-block: docs: a no_progress answer or exiting does not stop a snapshot delete run (#13459) * 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 * 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 * 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 * 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 * 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 * 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 * seaweed-block: docs: the host retry applies only on a version-1 HEAD Review: a version-0 HEAD takes v1.0's name-only delete, which the host does not retry. Co-Authored-By: Claude Opus 5.5 * seaweed-block: docs: the issue needs a version-1 HEAD Review: a version-0 or absent HEAD takes v1.0's name-only delete, which stages no intent pages, so it is not affected. Co-Authored-By: Claude Opus 5.5 * seaweed-block: docs: 30 seconds is the host's retry threshold, not a bound Review: the host checks its deadline before each wait, so its last attempt can start and run past 30 seconds. Co-Authored-By: Claude Opus 5.5 * seaweed-block: docs: the host retries for about 30 seconds Review ruling: the plainer, strictly weaker wording. Co-Authored-By: Claude Opus 5.5 --------- Co-authored-by: Claude Opus 5.5 --- seaweed-block/docs/releases/v1.1.1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seaweed-block/docs/releases/v1.1.1.md b/seaweed-block/docs/releases/v1.1.1.md index 256362f00a..64996ff4ac 100644 --- a/seaweed-block/docs/releases/v1.1.1.md +++ b/seaweed-block/docs/releases/v1.1.1.md @@ -55,9 +55,9 @@ v1.1.1 is a fix release of the v1.1 line. None of its changes alters a stored fo ## Known issue: resuming a snapshot delete that is still running can stop the volume's snapshot deletes and cleaning -- **Trigger:** 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 is still alive but stalled, for example a paused process or a slow filer call, and a cleaning pass runs in between. +- **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:** do not resume a snapshot delete while an earlier run of it may still be running. Wait for that run's answer, or make sure its process has exited, before you repeat the command with `--request-id`. +- **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. - **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