MatrixSynapse/tests/storage
David Robertson b83e822556
Stop user directory from failing if it encounters users not in the `users` table. (#11053)
The following scenarios would halt the user directory updater:

- user joins room
- user leaves room
- user present in room which switches from private to public, or vice versa.

for two classes of users:

- appservice senders
- users missing from the user table.

If this happened, the user directory would be stuck, unable to make forward progress.

Exclude both cases from the user directory, so that we ignore them.

Co-authored-by: Eric Eastwood <erice@element.io>
Co-authored-by: reivilibre <oliverw@matrix.org>
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
2021-10-13 09:38:22 +00:00
..
databases Don't drop user dir deltas when server leaves room (#10982) 2021-10-06 12:56:45 +00:00
__init__.py
test__base.py
test_account_data.py
test_appservice.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
test_background_update.py
test_base.py
test_cleanup_extrems.py Don't drop user dir deltas when server leaves room (#10982) 2021-10-06 12:56:45 +00:00
test_client_ips.py Stop user directory from failing if it encounters users not in the `users` table. (#11053) 2021-10-13 09:38:22 +00:00
test_database.py
test_devices.py
test_directory.py
test_e2e_room_keys.py
test_end_to_end_keys.py
test_event_chain.py Don't drop user dir deltas when server leaves room (#10982) 2021-10-06 12:56:45 +00:00
test_event_federation.py
test_event_metrics.py
test_event_push_actions.py
test_events.py
test_id_generators.py
test_keys.py
test_main.py
test_monthly_active_users.py
test_profile.py
test_purge.py
test_redaction.py
test_registration.py
test_room.py
test_room_search.py
test_roommember.py Don't drop user dir deltas when server leaves room (#10982) 2021-10-06 12:56:45 +00:00
test_state.py Stop user directory from failing if it encounters users not in the `users` table. (#11053) 2021-10-13 09:38:22 +00:00
test_transactions.py
test_txn_limit.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
test_user_directory.py Stop user directory from failing if it encounters users not in the `users` table. (#11053) 2021-10-13 09:38:22 +00:00