synapse-old/synapse/storage/databases/main
Erik Johnston 3bc23cc45c
Fix bug that could cause a `/sync` to tightloop with sqlite after restart (#16540)
This could happen if the last rows in the account data stream were inserted into `account_data`. After a restart the max account ID would be calculated without looking at the `account_data` table, and so have an old ID.
2023-10-23 13:39:25 +00:00
..
__init__.py Inline simple_search_list/simple_search_list_txn. (#16434) 2023-10-10 12:16:36 -04:00
account_data.py Fix bug that could cause a `/sync` to tightloop with sqlite after restart (#16540) 2023-10-23 13:39:25 +00:00
appservice.py Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
cache.py Avoid sending massive replication updates when purging a room. (#16510) 2023-10-18 12:26:01 -04:00
censor_events.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
client_ips.py Convert DeviceLastConnectionInfo to attrs. (#16507) 2023-10-17 12:47:42 +00:00
deviceinbox.py Improve performance of delete device messages query (#16492) 2023-10-18 16:42:01 +01:00
devices.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
directory.py Load `/directory/room/{roomAlias}` endpoint on workers (#15333) 2023-04-14 10:24:06 +01:00
e2e_room_keys.py Add DB indices to speed up purging rooms (#16457) 2023-10-10 10:33:39 +01:00
end_to_end_keys.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
event_federation.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
event_push_actions.py mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
events.py Mark sync as limited if there is a gap in the timeline (#16485) 2023-10-19 15:04:18 +01:00
events_bg_updates.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
events_forward_extremities.py Fix returned count of delete extremities admin API (#12496) 2022-04-19 16:49:45 +01:00
events_worker.py Remove the last reference to event_txn_id. (#16521) 2023-10-23 07:37:45 -04:00
experimental_features.py Make cached account data/tags/admin types immutable (#16325) 2023-09-18 09:55:04 -04:00
filtering.py Convert more cached return values to immutable types (#16356) 2023-09-20 07:48:55 -04:00
keys.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
lock.py Fix rare bug that broke looping calls (#16210) 2023-08-30 14:18:42 +01:00
media_repository.py Return ThumbnailInfo in more places (#16438) 2023-10-06 10:12:43 -04:00
metrics.py Remove old R30 because R30v2 supercedes it (#10428) 2023-05-19 11:13:44 -05:00
monthly_active_users.py Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
openid.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
presence.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
profile.py Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters`. (#15953) 2023-07-18 11:44:09 +01:00
purge_events.py Disable statement timeout whilst purging rooms (#16455) 2023-10-09 15:41:17 +01:00
push_rule.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
pusher.py Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
receipts.py Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
registration.py Convert user_get_threepids response to attrs. (#16468) 2023-10-11 20:08:11 -04:00
rejections.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
room.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
roommember.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
search.py Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
session.py Run `pyupgrade --py37-plus --keep-percent-format` on Synapse (#11685) 2022-01-05 09:53:05 -08:00
signatures.py Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
state.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
state_deltas.py Convert state delta processing from a dict to attrs. (#16469) 2023-10-16 07:35:22 -04:00
stats.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
stream.py Mark sync as limited if there is a gap in the timeline (#16485) 2023-10-19 15:04:18 +01:00
tags.py Make cached account data/tags/admin types immutable (#16325) 2023-09-18 09:55:04 -04:00
task_scheduler.py Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
transactions.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
ui_auth.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
user_directory.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
user_erasure_store.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00