-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Faster joins: Handle a second join while syncing state for the first one #12801
Comments
Currently, the second join will block until Synapse finishes syncing state. While not incorrect, it's not a great experience and we should be able to allow some membership changes before we've finished syncing state. I've left a WIP complement test at https://github.com/matrix-org/complement/tree/squah/faster_room_joins_handle_second_join_while_resyncing Synapse blocks in
|
I think we can punt this to Q3; it's not causing breakage, rather poor UX. |
we think this will depend on #12997, so this is blocked until that is done. |
For now I am thinking about doing another round of |
Fixes #12801. Complement tests are at matrix-org/complement#567. Avoid blocking on full state when handling a subsequent join into a partial state room. Also always perform a remote join into partial state rooms, since we do not know whether the joining user has been banned and want to avoid leaking history to banned users. Signed-off-by: Mathieu Velten <mathieuv@matrix.org> Co-authored-by: Sean Quah <seanq@matrix.org> Co-authored-by: David Robertson <davidr@element.io>
We want to avoid launching a second partial state syncing job for the same room.
The text was updated successfully, but these errors were encountered: