0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 02:33:47 +01:00
synapse/tests/storage
Erik Johnston bd558a6dc3
Speed up state res in rare case we don't have all events (#16116)
If we don't have all the auth events in a room then not all state events will have a chain cover index. Even so, we can still use the chain cover index on the events that do have it, rather than bailing and using the slower functions.

This situation should not arise for newly persisted rooms, as we check we have the full auth chain for each event, but can happen for existing rooms.

c.f. #15245
2023-08-18 15:32:06 +01:00
..
databases Fix database performance of read/write worker locks (#16061) 2023-08-17 14:07:57 +01:00
util Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test__base.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_account_data.py Fix a long-standing bug where an initial sync would not respond to changes to the list of ignored users if there was an initial sync cached. (#15163) 2023-02-28 17:11:26 +00:00
test_appservice.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
test_background_update.py Fix downgrading to previous version of Synapse (#15907) 2023-07-10 16:24:42 +01:00
test_base.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_cleanup_extrems.py Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00:00
test_client_ips.py Revert pruning of old devices (#15360) 2023-03-31 13:51:51 +01:00
test_database.py Make sqlite database migrations transactional again, part two (#14926) 2023-01-31 11:03:55 +00:00
test_devices.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_directory.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_e2e_room_keys.py Re-introduce the outbound federation proxy (#15913) 2023-07-18 09:49:21 +01:00
test_end_to_end_keys.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_event_chain.py Replace EventContext fields prev_group and delta_ids with field state_group_deltas (#15233) 2023-06-13 13:22:06 -07:00
test_event_federation.py Speed up state res in rare case we don't have all events (#16116) 2023-08-18 15:32:06 +01:00
test_event_metrics.py Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00:00
test_event_push_actions.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_events.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_id_generators.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
test_keys.py Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2023-04-20 12:30:32 -04:00
test_main.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
test_monthly_active_users.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_profile.py Revert "Stop writing to column user_id of tables profiles and user_filters. (#15953) 2023-07-18 11:44:09 +01:00
test_purge.py Re-introduce the outbound federation proxy (#15913) 2023-07-18 09:49:21 +01:00
test_receipts.py Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00:00
test_redaction.py Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2023-02-09 13:05:02 -08:00
test_registration.py Implements admin API to lock an user (MSC3939) (#15870) 2023-08-10 09:10:55 +00:00
test_relations.py Accept threaded receipts for events related to the root event. (#14174) 2022-10-14 18:05:25 +00:00
test_rollback_worker.py Re-introduce the outbound federation proxy (#15913) 2023-07-18 09:49:21 +01:00
test_room.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_room_search.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
test_roommember.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_state.py Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
test_stream.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_transactions.py Allow config of the backoff algorithm for the federation client. (#15754) 2023-08-03 14:36:55 -04:00
test_txn_limit.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_unsafe_locale.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_user_directory.py Fix ICU tests on alpine / macOS. (#15177) 2023-03-03 14:22:06 +00:00
test_user_filters.py Revert "Stop writing to column user_id of tables profiles and user_filters. (#15953) 2023-07-18 11:44:09 +01:00