synapse-product/tests/storage
Erik Johnston 76d21d14a0
Separate get_current_token into two. (#8113)
The function is used for two purposes: 1) for subscribers of streams to
get a token they can use to get further updates with, and 2) for
replication to track position of the writers of the stream.

For streams with a single writer the two scenarios produce the same
result, however the situation becomes complicated for streams with
multiple writers. The current `MultiWriterIdGenerator` does not
correctly handle the first case (which is not an issue as its only used
for the `caches` stream which nothing subscribes to outside of
replication).
2020-08-19 10:39:31 +01:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test__base.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
test_appservice.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
test_background_update.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
test_base.py Convert some of the general database methods to async (#8100) 2020-08-17 12:18:01 -04:00
test_cleanup_extrems.py Add a shadow-banned flag to users. (#8092) 2020-08-14 12:37:59 -04:00
test_client_ips.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01: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 Convert devices database to async/await. (#8069) 2020-08-12 10:51:42 -04:00
test_directory.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04: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 Convert devices database to async/await. (#8069) 2020-08-12 10:51:42 -04:00
test_event_federation.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
test_event_metrics.py Add a shadow-banned flag to users. (#8092) 2020-08-14 12:37:59 -04:00
test_event_push_actions.py Convert some of the general database methods to async (#8100) 2020-08-17 12:18:01 -04:00
test_id_generators.py Separate get_current_token into two. (#8113) 2020-08-19 10:39:31 +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 Convert some of the general database methods to async (#8100) 2020-08-17 12:18:01 -04:00
test_monthly_active_users.py Converts event_federation and registration databases to async/await (#8061) 2020-08-11 17:21:13 -04:00
test_profile.py Convert some of the general database methods to async (#8100) 2020-08-17 12:18:01 -04:00
test_purge.py Convert stream database to async/await. (#8074) 2020-08-17 07:24:46 -04:00
test_redaction.py Add an assertion on prev_events in create_new_client_event (#8041) 2020-08-10 12:29:47 +01:00
test_registration.py Converts event_federation and registration databases to async/await (#8061) 2020-08-11 17:21:13 -04:00
test_room.py Convert some of the data store to async. (#7976) 2020-07-30 07:20:41 -04:00
test_roommember.py Add a shadow-banned flag to users. (#8092) 2020-08-14 12:37:59 -04:00
test_state.py Convert some of the data store to async. (#7976) 2020-07-30 07:20:41 -04:00
test_transactions.py Fix errors storing large retry intervals. 2019-10-02 10:36:27 +01:00
test_user_directory.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00