forked-synapse/changelog.d
Sean Quah f792dd74e1
Remove option to skip locking of tables during emulated upserts (#14469)
To perform an emulated upsert into a table safely, we must either:
 * lock the table,
 * be the only writer upserting into the table
 * or rely on another unique index being present.

When the 2nd or 3rd cases were applicable, we previously avoided locking
the table as an optimization. However, as seen in #14406, it is easy to
slip up when adding new schema deltas and corrupt the database.

The only time we lock when performing emulated upserts is while waiting
for background updates on postgres. On sqlite, we do no locking at all.

Let's remove the option to skip locking tables, so that we don't shoot
ourselves in the foot again.

Signed-off-by: Sean Quah <seanq@matrix.org>
2022-11-28 13:42:06 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
13917.feature Add support for handling avatar with SSO login (#13917) 2022-11-25 15:16:50 +00:00
14055.misc Add a type hint for get_device_handler() and fix incorrect types. (#14055) 2022-11-22 14:08:04 -05:00
14149.bugfix Implement message forward pagination from start when no from is given, fixes #12383 (#14149) 2022-11-24 09:10:51 +00:00
14376.misc Reintroduce #14376, with bugfix for monoliths (#14468) 2022-11-16 22:16:46 +00:00
14393.bugfix Fix an invalid comparison of UserPresenceState to str (#14393) 2022-11-16 15:25:35 +00:00
14400.misc Remove need for worker_main_http_uri setting to use /keys/upload. (#14400) 2022-11-16 22:16:25 +00:00
14403.misc Faster joins: do not wait for full state when creating events to send (#14403) 2022-11-17 17:01:14 +01:00
14404.misc Faster joins: filter out non local events when a room doesn't have its full state (#14404) 2022-11-21 16:46:14 +01:00
14408.misc Faster joins: use initial list of servers if we don't have the full state yet (#14408) 2022-11-24 18:09:47 +01:00
14412.misc Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
14449.misc Fix check to ignore blank lines in incoming TCP replication (#14449) 2022-11-17 16:09:56 +00:00
14452.misc Enable 'strict_equality' checking for mypy (#14452) 2022-11-17 18:34:09 +00:00
14468.misc Reintroduce #14376, with bugfix for monoliths (#14468) 2022-11-16 22:16:46 +00:00
14469.misc Remove option to skip locking of tables during emulated upserts (#14469) 2022-11-28 13:42:06 +00:00
14476.misc Fix version that worker_main_http_uri is redundant from (#14476) 2022-11-17 16:11:08 +00:00
14479.misc Fixes to federation_client dev script (#14479) 2022-11-20 17:41:17 +00:00
14487.misc Reduce default third party invite rate limit to 216 invites per day (#14487) 2022-11-18 18:10:01 +00:00
14490.misc Fix /key/v2/server calls with URL-unsafe key IDs (#14490) 2022-11-18 19:56:42 +00:00
14491.feature Batch fetch bundled annotations (#14491) 2022-11-22 07:26:11 -05:00
14496.misc Refactor federation_sender and pusher configuration loading. (#14496) 2022-11-22 21:33:58 +00:00
14499.doc Fix broken admin API request recommendation link (#14499) 2022-11-21 12:40:25 +01:00
14500.misc Bump pygithub from 1.56 to 1.57 (#14500) 2022-11-21 10:29:42 +00:00
14501.misc Bump sentry-sdk from 1.10.1 to 1.11.0 (#14501) 2022-11-21 10:28:57 +00:00
14502.misc Bump types-pillow from 9.2.2.1 to 9.3.0.1 (#14502) 2022-11-21 10:29:24 +00:00
14503.misc Bump towncrier from 21.9.0 to 22.8.0 (#14503) 2022-11-21 10:29:54 +00:00
14504.misc Bump phonenumbers from 8.12.56 to 8.13.0 (#14504) 2022-11-21 10:30:05 +00:00
14505.misc Bump serde_json from 1.0.87 to 1.0.88 (#14505) 2022-11-21 10:30:18 +00:00
14508.feature Batch fetch bundled references (#14508) 2022-11-22 09:41:09 -05:00
14509.docker Push complement image to a docker registry (#14509) 2022-11-28 12:51:40 +00:00
14510.feature Parallelize calls to fetch bundled aggregations. (#14510) 2022-11-22 09:47:32 -05:00
14515.misc Faster joins: use servers list approximation in assert_host_in_room (#14515) 2022-11-24 09:10:47 +01:00
14516.misc Track unconverted device list outbound pokes using a position instead (#14516) 2022-11-22 16:46:52 +00:00
14522.misc Add more prompts to bug report form (#14522) 2022-11-22 21:23:22 +00:00
14526.misc Apply correct editorconfig to .pyi files (#14526) 2022-11-22 18:33:28 +00:00
14527.misc Optimize filter_events_for_client for faster /messages - v2 (#14527) 2022-11-22 21:56:28 +00:00
14529.misc Add missing type hints to test.util.caches (#14529) 2022-11-22 17:35:54 -05:00
14534.misc Add another index to device_lists_changes_in_room (#14534) 2022-11-23 14:09:00 +00:00
14537.bugfix Fix crash admin media list api when info is None (#14537) 2022-11-24 10:49:04 +00:00
14538.removal Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. (#14538) 2022-11-24 09:09:17 +00:00
14557.misc Bump dtolnay/rust-toolchain from 55c7845fad90d0ae8b2e83715cb900e5e861e8cb to e645b0cf01249a964ec099494d38d2da0f0b349f (#14557) 2022-11-28 11:08:15 +00:00
14559.misc Bump serde from 1.0.147 to 1.0.148 (#14559) 2022-11-28 12:30:12 +00:00
14560.misc Bump serde_json from 1.0.88 to 1.0.89 (#14560) 2022-11-28 12:45:58 +00:00
14571.misc Run Rust CI when Cargo.lock changes too (#14571) 2022-11-28 11:47:16 +00:00