Files
buzz/crates/buzz-db
Elrond d06bab6b15 buzz-db: tolerate absent universal write-fence objects
Expand step for retiring the 32 community_write_fence_* triggers and their
SQL functions (BUZZ-315). Relay pods auto-migrate at boot, so the drop
migration can only ship once every pod no longer depends on those objects.

- Serving startup/readiness and the deletion catalog check no longer require
  the fence functions or triggers; tenant-table equality, the deletion lock
  key and the community tombstone are still required.
- Live scoped-table discovery uses a Rust exclusion list instead of
  community_write_fence_excluded_table(), pinned equal to the SQL list while
  both exist.
- Serving-lease admission uses guard_community_write instead of
  assert_community_write_allowed; fenced/missing still map to AccessDenied.
- guard_community_write rejects non-READ-COMMITTED transactions, reading the
  isolation level from the existing advisory-lock statement (no extra round
  trip).
- The deletion executor stops comparing the legacy fenced_tables snapshot,
  but inventories still record live fences so older executors keep matching
  during this rollout.

No schema or migration change.

Signed-off-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
2026-10-14 11:55:01 -04:00
..