synapse-old/synapse/storage
Erik Johnston bd558a6dc3
Speed up state res in rare case we don't have all events (#16116)
If we don't have all the auth events in a room then not all state events will have a chain cover index. Even so, we can still use the chain cover index on the events that do have it, rather than bailing and using the slower functions.

This situation should not arise for newly persisted rooms, as we check we have the full auth chain for each event, but can happen for existing rooms.

c.f. #15245
2023-08-18 15:32:06 +01:00
..
controllers Rename pagination&purge locks and add comments explaining them (#16112) 2023-08-16 16:19:54 +02:00
databases Speed up state res in rare case we don't have all events (#16116) 2023-08-18 15:32:06 +01:00
engines Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
schema Implements admin API to lock an user (MSC3939) (#15870) 2023-08-10 09:10:55 +00:00
util Combine AbstractStreamIdTracker and AbstractStreamIdGenerator. (#15192) 2023-03-03 08:13:37 -05:00
__init__.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
_base.py Clear event caches when we purge history (#15609) 2023-06-08 13:14:40 +01:00
background_updates.py Override global statement timeout when creating indexes in Postgres (#16085) 2023-08-17 10:30:02 +01:00
database.py Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters`. (#15953) 2023-07-18 11:44:09 +01:00
keys.py Add cache to `get_server_keys_json_for_remote` (#16123) 2023-08-18 11:05:01 +01:00
prepare_database.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
push_rule.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +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
types.py More precise type for LoggingTransaction.execute (#15432) 2023-04-14 18:04:49 +00:00