MatrixSynapse/tests/storage
reivilibre 51e4e35653
Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit one. This should allow use of Postgres logical replication. (take 2, now with no added deadlocks!) (#16658)
* Add `ALTER TABLE ... REPLICA IDENTITY ...` for individual tables

We can't combine them into one file as it makes it likely to hit a deadlock

if Synapse is running, as it only takes one other transaction to access two

tables in a different order to the schema delta.

* Add notes

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

* Re-introduce REPLICA IDENTITY test

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-12-04 14:57:28 +00:00
..
databases Add an Admin API to temporarily grant the ability to update an existing cross-signing key without UIA (#16634) 2023-11-15 17:28:10 +00:00
util Replace make_awaitable with AsyncMock (#16179) 2023-08-24 19:38:46 -04:00
__init__.py
test__base.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04: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 Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_background_update.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
test_base.py Convert simple_select_one_txn and simple_select_one to return tuples. (#16612) 2023-11-09 11:13:31 -05:00
test_cleanup_extrems.py Return an immutable value from get_latest_event_ids_in_room. (#16326) 2023-09-18 09:29:05 -04:00
test_client_ips.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
test_database.py Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit one. This should allow use of Postgres logical replication. (take 2, now with no added deadlocks!) (#16658) 2023-12-04 14:57:28 +00:00
test_devices.py Prepare unit tests for Python 3.12 (#16099) 2023-08-25 15:05:10 -04: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 Prepare unit tests for Python 3.12 (#16099) 2023-08-25 15:05:10 -04:00
test_event_chain.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
test_event_federation.py Use full GitHub links instead of bare issue numbers. (#16637) 2023-11-15 08:02:11 -05: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 Fix bug where a new writer advances their token too quickly (#16473) 2023-10-23 16:57:30 +01:00
test_main.py Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
test_monthly_active_users.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_profile.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04: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 Refactor `get_user_by_id` (#16316) 2023-09-14 12:46:30 +01: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 Convert simple_select_one_txn and simple_select_one to return tuples. (#16612) 2023-11-09 11:13:31 -05:00
test_room_search.py Use full GitHub links instead of bare issue numbers. (#16637) 2023-11-15 08:02:11 -05:00
test_roommember.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
test_state.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04: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 Update ruff config (#16283) 2023-09-08 11:24:36 -04: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 Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
test_user_filters.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00