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
__init__.py
test__base.py
test_account_data.py
test_appservice.py
test_background_update.py
test_base.py
test_cleanup_extrems.py
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
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
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
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