synapse-product/synapse/rest/client
Erik Johnston 1531b214fc
Add ability to wait for replication streams (#7542)
The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room).

Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on.

People probably want to look at this commit by commit.
2020-05-22 14:21:54 +01:00
..
v1 Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
v2_alpha Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
transactions.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
versions.py Move MSC2432 stuff onto unstable prefix (#6948) 2020-02-19 10:40:27 +00:00