mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-04 22:07:34 +00:00
`store_state_group_chain` inserted the new groups, their edges and their state one statement at a time, then committed: five round trips for a new room, with the ID allocation. The inserts, and the bump of the prev group's pending deletion, are now queued, so a new room's chain takes two: the IDs, then the rows with the COMMIT. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PVLsNh6akt4ifEizY4D1ta