forked-synapse/synapse/storage
reivilibre 11e15d79b8
Fix a performance issue introduced in Synapse v1.83.0 which meant that purging rooms was very slow and database-intensive. (#15693)
* Add indices required to efficiently validate new foreign key constraints on stream_ordering

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-05-31 14:59:56 +01:00
..
controllers Fix @trace not wrapping some state methods that return coroutines correctly (#15647) 2023-05-23 12:26:25 -05:00
databases Fix a performance issue introduced in Synapse v1.83.0 which meant that purging rooms was very slow and database-intensive. (#15693) 2023-05-31 14:59:56 +01:00
engines Speed up SQLite unit test CI (#15334) 2023-03-30 16:21:12 +01:00
schema Fix a performance issue introduced in Synapse v1.83.0 which meant that purging rooms was very slow and database-intensive. (#15693) 2023-05-31 14:59:56 +01: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 Add final type hint to synapse.server. (#15035) 2023-02-09 09:49:04 -05:00
background_updates.py Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15597) 2023-05-26 13:16:08 -04:00
database.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
keys.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
prepare_database.py Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00: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