anonymousland-synapse/synapse/storage
Eric Eastwood fb58611d21
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.
2021-11-29 16:01:54 -06:00
..
databases Refactor backfilled into specific behavior function arguments (_persist_events_and_state_updates) (#11417) 2021-11-29 16:01:54 -06:00
engines Fix the inbound PDU metric (#10279) 2021-06-30 12:07:16 +01:00
schema Support expiry of refresh tokens and expiry of the overall session when refresh tokens are in use. (#11425) 2021-11-26 14:27:14 +00:00
util Add type hints to synapse/storage/databases/main/events_worker.py (#11411) 2021-11-26 18:41:31 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Add type hints to synapse/storage/databases/main/events_worker.py (#11411) 2021-11-26 18:41:31 +00:00
background_updates.py Make background updates controllable via a plugin (#11306) 2021-11-29 17:57:06 +01:00
database.py Add type annotations to synapse.metrics (#10847) 2021-11-17 19:07:02 +00:00
keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
persist_events.py Refactor backfilled into specific behavior function arguments (_persist_events_and_state_updates) (#11417) 2021-11-29 16:01:54 -06:00
prepare_database.py Run _upgrade_existing_database on workers if at current schema_version (#11346) 2021-11-15 17:34:15 +00:00
purge_events.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
push_rule.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Name the type of token in "Invalid token" messages (#10815) 2021-09-14 11:25:05 +01:00
roommember.py Do not include rooms with an unknown room version in a sync response. (#10644) 2021-08-19 11:12:55 -04:00
state.py Stop user directory from failing if it encounters users not in the users table. (#11053) 2021-10-13 09:38:22 +00:00
types.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00