pingqiuandClaude Opus 5.5 d6aa32ce58 fix(master): a delete without the holder's ack finishes only on proof the volume is empty
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>
2026-11-26 00:03:35 -08:00
Languages
Go 84.7%
Rust 7.7%
Shell 2.7%
templ 1.5%
Java 1%
Other 2.1%