MatrixSynapse/synapse/storage/databases/main
Patrick Cloke 8a05d5de21
Batch look-ups to see if rooms are partial stated. (#14917)
* Batch look-ups to see if rooms are partial stated.

* Fix issues found in linting.

* Fix typo.

* Apply suggestions from code review

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>

* Clarify comments.

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>

* Also improve the cache size while we're at it

* is_partial_state_rooms -> is_partial_state_room_batched

* Run `black`

* Improve annotation for `simple_select_many_batch`

* Fix is_partial_state_room_batched impl

* Okay, _actually_ fix impl

* Update description.

* Update synapse/storage/databases/main/room.py

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* Run black.

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
Co-authored-by: David Robertson <davidr@element.io>
2023-01-26 17:15:36 +00:00
..
__init__.py Merge/remove `Slaved*` stores into `WorkerStores` (#14375) 2022-11-11 10:51:49 +00:00
account_data.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
appservice.py Use `device_one_time_keys_count` to match MSC3202 (#14565) 2022-11-28 16:17:29 +00:00
cache.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
censor_events.py
client_ips.py
deviceinbox.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
devices.py Fix initialization of `_device_list_id_gen` (#14914) 2023-01-26 10:38:49 +00:00
directory.py
e2e_room_keys.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
end_to_end_keys.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
event_federation.py Remove option to skip locking of tables during emulated upserts (#14469) 2022-11-28 13:42:06 +00:00
event_push_actions.py Delete event_push_summary_unique_index again. (#14669) 2022-12-14 09:25:33 -05:00
events.py Batch fetch bundled references (#14508) 2022-11-22 09:41:09 -05:00
events_bg_updates.py Add index to improve performance of the `/timestamp_to_event` endpoint used for jumping to a specific date in the timeline of a room. (#14799) 2023-01-11 12:29:13 +00:00
events_forward_extremities.py
events_worker.py Skip processing stats for broken rooms. (#14873) 2023-01-23 11:36:20 +00:00
filtering.py Merge/remove `Slaved*` stores into `WorkerStores` (#14375) 2022-11-11 10:51:49 +00:00
keys.py
lock.py
media_repository.py
metrics.py
monthly_active_users.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
openid.py
presence.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
profile.py
purge_events.py
push_rule.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
pusher.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
receipts.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
registration.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
rejections.py
relations.py Faster joins: omit partial rooms from eager syncs until the resync completes (#14870) 2023-01-23 15:44:39 +00:00
room.py Batch look-ups to see if rooms are partial stated. (#14917) 2023-01-26 17:15:36 +00:00
room_batch.py Remove option to skip locking of tables during emulated upserts (#14469) 2022-11-28 13:42:06 +00:00
roommember.py Faster joins: omit partial rooms from eager syncs until the resync completes (#14870) 2023-01-23 15:44:39 +00:00
search.py Drop support for Postgres 10 in full text search code. (#14397) 2022-11-09 09:55:34 -05:00
session.py
signatures.py
state.py Enable Faster Remote Room Joins against worker-mode Synapse. (#14752) 2023-01-22 21:10:11 +00:00
state_deltas.py
stats.py Skip processing stats for broken rooms. (#14873) 2023-01-23 11:36:20 +00:00
stream.py Request partial joins by default (#14905) 2023-01-24 15:28:20 +00:00
tags.py Merge account data streams (#14826) 2023-01-13 14:57:43 +00:00
transactions.py
ui_auth.py
user_directory.py Add optional ICU support for user search (#14464) 2022-12-12 13:21:17 +01:00
user_erasure_store.py