mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
d6aa32ce58695ce1a999a64dcce362b40444dc36
The never-created delete was admitted for any creation-hold reason, including a volume whose primary had acknowledged writes before the master recorded anything. Now: - it is admitted only while creation has not ended, and the master's record is marked durably first, in the lock that ends creation, so creation never ends after the admission (the delete reads the record as it was admitted, also after a restart); - deleting HEAD waits out the holder's lease horizon as before, and then requires proof that the volume is empty, read after the horizon: stage 1 (not every store attested: the primary served nothing), or N-K+1 survivors that answered on valid tables at end 0. A survivor holding a write, a silent survivor or an unknown ack profile refuses; - a volume whose creation ended keeps the live-lease refusal. Part A (M2) and the ledger row INV-WS-DELETE-WITHOUT-ACK-001 name the rule. 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%