forked-synapse/synapse/rest/client/v2_alpha
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
_base.py Admin API to list, filter and sort rooms (#6720) 2020-01-22 13:36:43 +00:00
account_data.py Support GET account_data requests on a worker (#7311) 2020-04-21 10:46:30 +01:00
account_validity.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
account.py Hash passwords earlier in the password reset process (#7538) 2020-05-20 09:48:03 -04:00
auth.py Use a non-empty RelayState for user interactive auth with SAML. (#7552) 2020-05-22 07:17:30 -04:00
capabilities.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
devices.py Support SAML in the user interactive authentication workflow. (#7102) 2020-04-01 08:48:00 -04:00
filter.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
groups.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
keys.py Support SAML in the user interactive authentication workflow. (#7102) 2020-04-01 08:48:00 -04:00
notifications.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
openid.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
password_policy.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
read_marker.py Port receipt and read markers to async/wait 2019-10-29 15:08:22 +00:00
receipts.py Port receipt and read markers to async/wait 2019-10-29 15:08:22 +00:00
register.py Hash passwords earlier in the password reset process (#7538) 2020-05-20 09:48:03 -04:00
relations.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
report_event.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
room_keys.py Ensure is_verified on /_matrix/client/r0/room_keys/keys is a boolean (#7150) 2020-03-27 13:30:22 +00:00
room_upgrade_rest_servlet.py Add rooms.room_version column (#6729) 2020-01-27 14:30:57 +00:00
sendtodevice.py Fixup synapse.rest to pass mypy (#6732) 2020-01-20 17:38:21 +00:00
sync.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
tags.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
thirdparty.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
tokenrefresh.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
user_directory.py Port rest.client.v2 2019-12-05 16:56:23 +00:00