mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
a73001b121cd394dee55eb9c09662a9114e1ad79
claude05's item (2026-11-16 02:39Z): `sw-block ops chunk volume-delete` plus Catalog.DeleteVolume. Controls, failing against a DeleteVolume stub that deletes nothing: - an attached volume (HEAD held) and one the blockmaster reports in use are refused with volume_in_use, nothing written; - a volume whose snapshot a live fork claims is refused with snapshot_claimed, nothing written; - fork w2 from s1, delete w2: HEAD tombstone (deleted, no chunks), VOLUME deleted, snapshots freed; DeleteSnapshot s1 then succeeds; the id is never attached, recreated or forked to again; an incomplete fork's claim is released; a rerun replays; - an attach between the check and the tombstone wins (held caller); - the CLI needs a volume and --master and refuses an attached volume; - real service + real GC: exactly the chunks only w2 and S1 reach are reclaimed, w1's HEAD and S2 stay readable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.1%