forked-synapse/synapse/storage/engines
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
..
__init__.py
_base.py Reduce serialization errors in MultiWriterIdGen (#8456) 2020-10-07 15:15:57 +01:00
postgres.py Reduce serialization errors in MultiWriterIdGen (#8456) 2020-10-07 15:15:57 +01:00
sqlite.py Reduce serialization errors in MultiWriterIdGen (#8456) 2020-10-07 15:15:57 +01:00