synapse-old/synapse
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
..
_scripts Convert simple_select_one_txn and simple_select_one to return tuples. (#16612) 2023-11-09 11:13:31 -05:00
api Keep track of `user_ips` and `monthly_active_users` when delegating auth (#16672) 2023-11-23 12:35:37 +00:00
app Use full GitHub links instead of bare issue numbers. (#16637) 2023-11-15 08:02:11 -05:00
appservice Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
config Server notices: add an autojoin setting for the notices room (#16699) 2023-12-04 12:31:42 +00:00
crypto Refactor storing of server keys (#16261) 2023-09-12 11:08:04 +01:00
events Add new module API for adding custom fields to events `unsigned` section (#16549) 2023-10-27 09:04:08 +00:00
federation Request & follow redirects for /media/v3/download (#16701) 2023-11-29 19:03:42 +00:00
handlers Implement MSC4069: Inhibit profile propagation (#16636) 2023-12-04 11:36:12 +00:00
http Request & follow redirects for /media/v3/download (#16701) 2023-11-29 19:03:42 +00:00
logging Do not call getfullargspec on every call. (#16589) 2023-10-31 20:16:17 +00:00
media Request & follow redirects for /media/v3/download (#16701) 2023-11-29 19:03:42 +00:00
metrics Support reactor timing metric on more reactors. (#16532) 2023-11-06 08:31:22 -05:00
module_api ModuleAPI SSO auth callbacks (#15207) 2023-12-01 14:31:50 +00:00
push Collect information for PushRuleEvaluator in parallel. (#16590) 2023-11-06 15:41:57 -05:00
replication Correctly read to-device stream pos on SQLite (#16682) 2023-11-24 13:42:38 +00:00
res Use oEmbed for YouTube Shorts (#15025) 2023-05-03 12:54:42 -04:00
rest Implement MSC4069: Inhibit profile propagation (#16636) 2023-12-04 11:36:12 +00:00
server_notices Server notices: add an autojoin setting for the notices room (#16699) 2023-12-04 12:31:42 +00:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Improve state types. (#16395) 2023-09-28 07:01:46 -04:00
static Update link to the clients webpage, fix #15825 (#15874) 2023-07-06 17:28:09 +02:00
storage 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
streams Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +01:00
types Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +01:00
util Speed up how quickly we launch new tasks (#16660) 2023-11-17 16:36:02 +00:00
__init__.py Gracefully handle failing to thumbnail images (#16211) 2023-08-30 15:18:34 +01:00
_pydantic_compat.py Add support for pydantic v2 via pydantic.v1 compat module (#16332) 2023-09-25 15:19:08 +00:00
event_auth.py Bump ruff from 0.0.277 to 0.0.286 (#16198) 2023-08-29 09:41:43 -04:00
notifier.py Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +01:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Add new module API for adding custom fields to events `unsigned` section (#16549) 2023-10-27 09:04:08 +00:00
visibility.py Use StrCollection in additional places. (#16301) 2023-09-13 07:57:19 -04:00