MatrixSynapse/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
test__base.py
test_appservice.py
test_background_update.py
test_base.py
test_cleanup_extrems.py
test_client_ips.py
test_devices.py
test_directory.py
test_e2e_room_keys.py
test_end_to_end_keys.py
test_event_federation.py
test_event_metrics.py
test_event_push_actions.py
test_keys.py
test_monthly_active_users.py
test_profile.py
test_purge.py
test_redaction.py
test_registration.py
test_room.py
test_roommember.py
test_state.py
test_transactions.py
test_user_directory.py