anonymousland-synapse/synapse/storage
Erik Johnston 20fa83f374 Remove racey assertion in MultiWriterIDGenerator (#8530)
We asserted that the IDs returned by postgres sequence was greater than
any we had seen, however this is technically racey as we may update the
current positions out of order.

We now assert that the sequences are correct on startup, so the
assertion is no longer really required, so we remove them.
2020-10-15 09:14:29 -04: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 Remove racey assertion in MultiWriterIDGenerator (#8530) 2020-10-15 09:14:29 -04: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