summary refs log tree commit diff
path: root/changelog.d/11417.misc
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2021-11-29 16:01:54 -0600
committerGitHub <noreply@github.com>2021-11-29 16:01:54 -0600
commitfb58611d212ea16be2b42d0e2441a6dc09f6f61d (patch)
treee992f380c02a9c3397da38931612fe0ca4f78358 /changelog.d/11417.misc
parentSupport the stable /hierarchy endpoint from MSC2946 (#11329) (diff)
downloadsynapse-fb58611d212ea16be2b42d0e2441a6dc09f6f61d.tar.xz
Refactor `backfilled` into specific behavior function arguments (`_persist_events_and_state_updates`) (#11417)
Part of https://github.com/matrix-org/synapse/issues/11300

Call stack:

 - `_persist_events_and_state_updates` (added `use_negative_stream_ordering`)
    - `_persist_events_txn`
       - `_update_room_depths_txn` (added `update_room_forward_stream_ordering`)
       - `_update_metadata_tables_txn`
          - `_store_room_members_txn` (added `inhibit_local_membership_updates`)

Using keyword-only arguments (`*`) to reduce the mistakes from `backfilled` being left as a positional argument somewhere and being interpreted wrong by our new arguments.
Diffstat (limited to 'changelog.d/11417.misc')
-rw-r--r--changelog.d/11417.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11417.misc b/changelog.d/11417.misc
new file mode 100644
index 0000000000..88dc4722da
--- /dev/null
+++ b/changelog.d/11417.misc
@@ -0,0 +1 @@
+Refactor `backfilled` into specific behavior function arguments (`_persist_events_and_state_updates` and downstream calls).