pingqiuandClaude Opus 5.5 77d238ce59 volume delete: RED controls for the r2 review
Review of dfc8f19 (codex01, V:/share/rdma/codex01-block152-r2-review-
20261116T0342Z/REVIEW.md). Controls failing against stubs restoring the
reviewed behaviour:

- P1: an unknown id's admission and a known record's ordinary
  DeleteVolume leave CreateVolume free, also after a restart
  (TestMarkVolumeDeleting_ReservesUnknownIdsAndSurvivesDeleteAndRestart).
- P2 persistence: the mark is intent-only (no write/sync); write,
  rename and directory-sync faults and a restart lose it
  (TestDeletionReservations_*).
- P2 rollback: a give-back (claim, held HEAD) leaves the master
  exclusion in place; a lost admission response reads as a refusal
  (TestCatalog_DeleteVolumeGivesBackOnALiveClaim, ...HeldAfterAdmission
  GivesBack, ...LostAdmissionResponse, TestOpsChunk_VolumeDelete with a
  real master: claim refusal must leave the id usable).
- P2 failed abort: B's failed tombstone write still frees the name, so
  A's late publication survives a completed delete
  (TestCatalog_FailedAbortCannotHideALatePublication).
- P2 concurrent deletes: D1's revert after D2 committed counts as a
  give-back (TestCatalog_ConcurrentDeleteCannotRollBackACommittedOne).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 19:54:32 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%