mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
f55f9f8b02a35b415a906b379a120effc5901cae
INV-WS-DELETE-NO-LIVE-HOLDER-001; red on main by design (the fix is the live-holder change). Three routes, none needs root, each asserted by the master's authority record (the line) and HEAD before any delete: - S1: a first start with the store down (line at 1, no lease, HEAD 0); - S2: a first start stopped at the lease grant (line and lease at 1, HEAD 0; the next candidate when the claim wins); - a clean move whose target never starts (line and lease at e+1, HEAD at e, detached). volume-delete without a revoke must complete (at once, after the lease lapsed, after a master restart), a later start must not claim, and a racing start and delete have one winner. Guards, green on main: a never-attached target is deletable and fenced, and a claimed target stays refused after a master restart. 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%