mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
6fa6f560894ce909ca1225da29b7698887cfbe53
The delete without the holder's acknowledgement was admitted whenever the end of creation was not recorded. That includes a volume that is serving acknowledged writes whose end the master could not read (after a master restart or a partition): the reservation stopped its grants, the proof then found a write and refused, and the volume could neither serve, fail over nor be deleted. It is now admitted only in stage 1, while the master's record still awaits a replica store (the primary serves nothing until every store is recorded). The mark is written durably first, in the lock that ends the wait, and freezes the record in stage 1: stores attested after it never end the wait, so the primary never starts serving. Past stage 1 the live-lease refusal stays; a broken creating primary's lease ends by itself and the ordinary delete then applies. The survivor proof at the HEAD update is no longer needed and is removed. 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%