Goal
Metadata update and delete read registry state and derive events before their write transaction starts, so concurrent delete/update interleavings can resurrect deleted state or record stale tombstone fences.
Workplan
- Re-read and validate registry state inside the write transaction
- Compare expected last-event id/revision; retry on mismatch or conflict
- Cover both operations with deterministic interleaving tests
Definition of Done
Test Concept
Barrier-forced interleavings in operation tests.
Risks
Coordinate with the current placement-branch fix run, which touches the same files.
Goal
Metadata update and delete read registry state and derive events before their write transaction starts, so concurrent delete/update interleavings can resurrect deleted state or record stale tombstone fences.
Workplan
Definition of Done
Test Concept
Barrier-forced interleavings in operation tests.
Risks
Coordinate with the current placement-branch fix run, which touches the same files.