synapse-product/synapse/storage
Erik Johnston fa8934b175 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 17:08:58 +01:00
..
databases Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
engines Reduce serialization errors in MultiWriterIdGen (#8456) 2020-10-07 17:08:58 +01:00
schema Only run one background update at a time 2020-03-31 17:43:58 +01:00
util Reduce serialization errors in MultiWriterIdGen (#8456) 2020-10-07 17:08:58 +01:00
__init__.py Make StreamToken.room_key be a RoomStreamToken instance. (#8281) 2020-09-11 12:22:55 +01:00
_base.py Be stricter about JSON that is accepted by Synapse (#8106) 2020-08-19 07:26:03 -04:00
background_updates.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
database.py Reduce serialization errors in MultiWriterIdGen (#8456) 2020-10-07 17:08:58 +01:00
keys.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
persist_events.py Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
prepare_database.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
purge_events.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
push_rule.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
relations.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
roommember.py Add EventStreamPosition type (#8388) 2020-09-24 13:24:17 +01:00
state.py Mypy fixes for synapse.handlers.federation (#8422) 2020-09-29 15:57:36 +01:00
types.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00