0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-11 20:42:23 +01:00
synapse/tests/storage
Erik Johnston a319cb1dd1
Change device list streams to have one row per ID (#7010)
* Add 'device_lists_outbound_pokes' as extra table.

This makes sure we check all the relevant tables to get the current max
stream ID.

Currently not doing so isn't problematic as the max stream ID in
`device_lists_outbound_pokes` is the same as in `device_lists_stream`,
however that will change.

* Change device lists stream to have one row per id.

This will make it possible to process the streams more incrementally,
avoiding having to process large chunks at once.

* Change device list replication to match new semantics.

Instead of sending down batches of user ID/host tuples, send down a row
per entity (user ID or host).

* Newsfile

* Remove handling of multiple rows per ID

* Fix worker handling

* Comments from review
2020-03-19 11:36:53 +00:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test__base.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
test_appservice.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
test_background_update.py port BackgroundUpdateTestCase to HomeserverTestCase (#6653) 2020-01-07 14:09:07 +00:00
test_base.py Add database config class (#6513) 2019-12-18 10:45:12 +00:00
test_cleanup_extrems.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
test_client_ips.py Fix race which caused deleted devices to reappear (#6514) 2019-12-10 16:22:29 +00: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 Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
test_event_push_actions.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
test_keys.py Type defintions for use in refactoring for redaction changes (#6803) 2020-01-30 11:25:59 +00: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 rooms.room_version column (#6729) 2020-01-27 14:30:57 +00:00
test_roommember.py Add local_current_membership table (#6655) 2020-01-15 14:59:33 +00: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