Compare commits

...
Author SHA1 Message Date
Ping QiuandClaude Opus 5.5 20854b3a66 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 <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: 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 <noreply@anthropic.com>

* 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 <noreply@anthropic.com>

* 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 <noreply@anthropic.com>

* seaweed-block: docs: the host retries for about 30 seconds

Review ruling: the plainer, strictly weaker wording.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 09:01:26 -08:00
Ping QiuandClaude Opus 5.5 ab25506331 seaweed-block: docs: known issue: resuming a snapshot delete that is still running (#13454)
* seaweed-block: docs: known issue: resuming a snapshot delete that is still running

Two overlapping runs of one snapshot delete, with a cleaning pass between,
can record the delete with an intent page whose data was freed; every
later snapshot delete on the volume is then refused (queue_full) and the
volume's cleaning stops. The v1.1.1 notes give the trigger, the effect,
what to do, and that v1.1.1 has no recovery for an affected volume.

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

* seaweed-block: docs: a stuck snapshot delete answers layout_busy, not queue_full

Review: with the intent stuck, a later snapshot delete stops at the
catalog's pre-check and answers layout_busy, a retryable answer that does
not clear on retry.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 07:08:10 -08:00
+7
View File
@@ -53,6 +53,13 @@ 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>`. 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
- **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.
- **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
- **Order: the CLI first, then blockmaster, then each holder**, as in