forked-synapse/synapse/rest/client/v1
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
directory.py Port rest/v1 to async/await 2019-12-05 15:57:28 +00:00
events.py Fix /events/:event_id deprecated API. (#6731) 2020-01-20 17:38:09 +00:00
initial_sync.py Port rest/v1 to async/await 2019-12-05 15:57:28 +00:00
login.py Support UI Authentication for OpenID Connect accounts (#7457) 2020-05-15 12:26:02 -04:00
logout.py Allow expired accounts to logout (#7443) 2020-05-14 16:32:49 +01:00
presence.py Port rest/v1 to async/await 2019-12-05 15:57:28 +00:00
profile.py Back out change preventing setting null avatar URLs 2019-12-11 11:46:55 +00:00
push_rule.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
pusher.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
room.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
voip.py Port rest/v1 to async/await 2019-12-05 15:57:28 +00:00