anonymousland-synapse/changelog.d/8456.misc
Erik Johnston ae5b2a72c0
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.
2020-10-07 15:15:57 +01:00

2 lines
81 B
Plaintext

Reduce number of serialization errors of `MultiWriterIdGenerator._update_table`.