d329a566df
* Avoid clearing out forward extremities when doing a second remote join When joining a restricted room where the local homeserver does not have a user able to issue invites, we perform a second remote join. We want to avoid clearing out forward extremities in this case because the forward extremities we have are up to date and clearing out forward extremities creates a window in which the room can get bricked if Synapse crashes. Signed-off-by: Sean Quah <seanq@matrix.org> * Do a full join when doing a second remote join into a full state room We cannot persist a partial state join event into a joined full state room, so we perform a full state join for such rooms instead. As a future optimization, we could always perform a partial state join and compute or retrieve the full state ourselves if necessary. Signed-off-by: Sean Quah <seanq@matrix.org> * Add lock around partial state flag for rooms Signed-off-by: Sean Quah <seanq@matrix.org> * Preserve partial state info when doing a second partial state join Signed-off-by: Sean Quah <seanq@matrix.org> * Add newsfile * Add a TODO(faster_joins) marker Signed-off-by: Sean Quah <seanq@matrix.org> |
||
---|---|---|
.. | ||
ui_auth | ||
__init__.py | ||
account.py | ||
account_data.py | ||
account_validity.py | ||
admin.py | ||
appservice.py | ||
auth.py | ||
cas.py | ||
deactivate_account.py | ||
device.py | ||
devicemessage.py | ||
directory.py | ||
e2e_keys.py | ||
e2e_room_keys.py | ||
event_auth.py | ||
events.py | ||
federation.py | ||
federation_event.py | ||
identity.py | ||
initial_sync.py | ||
message.py | ||
oidc.py | ||
pagination.py | ||
password_policy.py | ||
presence.py | ||
profile.py | ||
push_rules.py | ||
read_marker.py | ||
receipts.py | ||
register.py | ||
relations.py | ||
room.py | ||
room_batch.py | ||
room_list.py | ||
room_member.py | ||
room_member_worker.py | ||
room_summary.py | ||
saml.py | ||
search.py | ||
send_email.py | ||
set_password.py | ||
sso.py | ||
state_deltas.py | ||
stats.py | ||
sync.py | ||
typing.py | ||
user_directory.py |