diff options
author | Erik Johnston <erik@matrix.org> | 2020-10-07 15:15:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 15:15:57 +0100 |
commit | ae5b2a72c09d67311c9830f5a6fae1decce03e1f (patch) | |
tree | 47298b27adc6f433eea630e4015633c042131787 /changelog.d | |
parent | Use vector clocks for room stream tokens. (#8439) (diff) | |
download | synapse-ae5b2a72c09d67311c9830f5a6fae1decce03e1f.tar.xz |
Reduce serialization errors in MultiWriterIdGen (#8456)
We call `_update_stream_positions_table_txn` a lot, which is an UPSERT that can conflict in `REPEATABLE READ` isolation level. Instead of doing a transaction consisting of a single query we may as well run it outside of a transaction.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/8456.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8456.misc b/changelog.d/8456.misc new file mode 100644 index 0000000000..ccd260069b --- /dev/null +++ b/changelog.d/8456.misc @@ -0,0 +1 @@ +Reduce number of serialization errors of `MultiWriterIdGenerator._update_table`. |