Files
seaweedfs/seaweed-block/core/rpc
pingqiuandClaude Opus 5.5 27be7892a8 fix(sw-block): restore --abort verifies its target; reruns converge after placement
- GetVolume reports a restore target's recorded restore tuple (source
  volume, snapshot, create request id): three additive read-only fields
  filled from the lifecycle record. --abort reads it before any change
  and refuses another restore's target, a plain volume, or a record with
  no tuple (a blockmaster before v1.0.1) with nothing changed.
- restore reads the placement (QueryWorkspace) before placing: once the
  authority line is published the master refuses any placement, so a
  line for this replica with this binding is this restore's placement,
  and a line for anything else refuses naming the abort.
- backup labels its snapshot with its request and accepts only an answer
  carrying that label (the holder answers an existing name with the
  snapshot already there); every printed fact must be present.
- Tests run the production volume-delete and release against the layout
  catalog: dependent removal, the tombstone refusal, interrupted aborts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:27:43 -08:00
..