From 39f329d3b3b5a18b1d2e02ad4c8121b1a919f53a Mon Sep 17 00:00:00 2001 From: pingqiu Date: Thu, 26 Nov 2026 23:11:55 -0800 Subject: [PATCH] docs: a snapshot that answers head_conflict, and its retry The operator guide says what to do when a snapshot answers head_conflict (retry with the same name) and, in this release, when that retry answers internal "not in HEAD after its commit" (retry once more): the data is committed either way and the name exists only after a request succeeds. A retry that names the snapshot at once is planned for 1.0.1. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 5c0df53922..0537bb21a5 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -217,6 +217,13 @@ A snapshot can be refused with `host_slot_busy` / `no background slot` (retryabl other volumes' cuts; retry with the same request id. With many volumes on a host, a snapshot may wait for a slot: measured up to 15 s at 32 volumes with the default 3 slots. +A snapshot can answer `head_conflict` (HTTP 409, retryable): another write to the volume's HEAD, such as a snapshot +delete, landed during its commit. Retry it with the same name. In this release, if that retry answers `internal` +`snapshot "NAME" of VOL is not in HEAD after its commit`, retry once more. The volume's data is committed either way; +the snapshot name exists only after a request for it succeeds (check with `sw-block ops chunk snapshots`) +(`TestKnownDefectSnapshotRetryAfterAGenuineConflictCommitsTheDataUnnamed`). A retry that names the snapshot at once is +planned for 1.0.1. + ## Moving a volume, and returning it [Volume lifecycle](volume-lifecycle.md):