synapse/tests/replication
Patrick Cloke 666ae87729
Update event push action and receipt tables to support threads. (#13753)
Adds a `thread_id` column to the `event_push_actions`, `event_push_actions_staging`,
and `event_push_summary` tables. This will notifications to be segmented by the thread
in a future pull request. The `thread_id` column stores the root event ID or the special
value `"main"`.

The `thread_id` column for `event_push_actions` and `event_push_summary` is
backfilled with `"main"` for all existing rows. New entries into `event_push_actions`
and `event_push_actions_staging` will get the proper thread ID.

`receipts_linearized` and `receipts_graph` also gain a `thread_id` column, which is similar,
except `NULL` is a special value meaning the receipt is "unthreaded".

See MSC3771 and MSC3773 for where this data will be useful.
2022-09-14 17:11:16 +00:00
..
http Generalise the `@cancellable` annotation so it can be used on functions other than just servlet methods. (#13662) 2022-08-31 11:16:05 +00:00
slave Update event push action and receipt tables to support threads. (#13753) 2022-09-14 17:11:16 +00:00
tcp Reduce the number of tests using TCP replication. (#13543) 2022-08-19 08:25:24 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Reduce the number of tests using TCP replication. (#13543) 2022-08-19 08:25:24 -04:00
test_auth.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_client_reader_shard.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_federation_ack.py Rename get_tcp_replication to get_replication_command_handler. (#12192) 2022-03-10 13:01:56 +00:00
test_federation_sender_shard.py Remove unused `# type: ignore`s (#12531) 2022-04-27 14:03:44 +01:00
test_multi_media_repo.py Add reactor to `SynapseRequest` and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
test_pusher_shard.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
test_sharded_event_persister.py Reduce the number of tests using TCP replication. (#13543) 2022-08-19 08:25:24 -04:00