mirror of
https://github.com/block/buzz.git
synced 2026-11-13 21:01:53 +00:00
989412f3 ran the pre-lock `SELECT EXISTS` on the bare pool before
`begin_community_write_transaction`. That answered claims on fenced
(quiescing/deleting) tenants with `invite_invalid` instead of the fence
rejection, and acquired a writer connection outside a typed
`WriterOperation`. Open the admitted transaction first, which enforces
the tenant fence and attribution without taking the invite admission
lock, then check the code on `tx.conn()` before `lock_admission`.
Co-authored-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Luke Tornquist <tornquist@squareup.com>