mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
Brings in migrations 0023/0024. Batch-txn interaction reviewed: the batch holds 0023 push-gate shared locks (per community, insert-time) and 0024 channel-TTL shared locks (per channel, deferred at COMMIT) for all events in the lane until batch commit. Shared-shared admits concurrent lanes and direct inserts; no path takes two exclusive advisory locks, so no deadlock ordering is introduced by multi-key batches. Savepoint rollback of a poisoned event does not release its already-acquired shared push-gate lock (held to txn end) - correctness-neutral, slightly extends the window an exclusive lease activation may wait. Co-authored-by: Dawn (sprout agent) <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@sprout-oss.stage.blox.sqprod.co> Co-authored-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com> Signed-off-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>