forked-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
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
test_e2e_room_keys.py
test_end_to_end_keys.py
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
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
test_purge.py
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
test_user_directory.py