anonymousland-synapse/tests/storage
Erik Johnston 1531b214fc
Add ability to wait for replication streams (#7542)
The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room).

Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on.

People probably want to look at this commit by commit.
2020-05-22 14:21:54 +01:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test__base.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
test_appservice.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
test_background_update.py Make do_next_background_update return a bool 2020-03-31 17:43:58 +01:00
test_base.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
test_cleanup_extrems.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
test_client_ips.py Fix race which caused deleted devices to reappear (#6514) 2019-12-10 16:22:29 +00:00
test_database.py bg update to clear out duplicate outbound_device_list_pokes (#7193) 2020-04-07 23:06:39 +01:00
test_devices.py Remove handling of multiple rows per ID 2020-02-28 11:45:35 +00:00
test_directory.py Fix tests on postgresql (#3740) 2018-09-04 02:21:48 +10:00
test_e2e_room_keys.py add etag and count to key backup endpoints (#5858) 2019-11-27 16:14:44 -05:00
test_end_to_end_keys.py make storage layer in charge of interpreting the device key data 2019-10-10 19:15:30 -04:00
test_event_federation.py Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
test_event_metrics.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
test_event_push_actions.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
test_id_generators.py Add MultiWriterIdGenerator. (#7281) 2020-05-04 17:17:45 +01:00
test_keys.py Type defintions for use in refactoring for redaction changes (#6803) 2020-01-30 11:25:59 +00:00
test_main.py Return total number of users and profile attributes in admin users endpoint (#6881) 2020-04-28 18:19:36 +01:00
test_monthly_active_users.py Break down monthly active users by appservice_id (#7030) 2020-03-06 18:14:19 +00:00
test_profile.py Fixup tests 2019-12-06 16:02:50 +00:00
test_purge.py Split purge API into events vs state 2019-10-30 15:23:37 +00:00
test_redaction.py Replace _event_dict_property with DictProperty 2020-02-14 16:42:37 +00:00
test_registration.py Allow admin users to create or modify users without a shared secret (#6495) 2020-01-09 13:31:00 +00:00
test_room.py Add room details admin endpoint (#7317) 2020-05-07 15:33:07 -04:00
test_roommember.py Stop get_joined_users corruption from custom statuses (#7376) 2020-05-14 10:07:54 +01:00
test_state.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
test_transactions.py Fix errors storing large retry intervals. 2019-10-02 10:36:27 +01:00
test_user_directory.py Fixup tests 2019-12-06 16:02:50 +00:00