This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Commit 84169a8
authored
Avoid blocking lazy-loading
Use a state filter or accept partial state in a few places where we
request state, to avoid blocking.
To make lazy-loading `/sync`s work, we need to provide the memberships
of event senders, which are not guaranteed to be in the room state.
Instead we dig through auth events for memberships to present to
clients. The auth events of an event are guaranteed to contain a
passable membership event, otherwise the event would have been rejected.
Note that this only covers the common code paths encountered during
testing. There has been no exhaustive checking of all sync code paths.
Fixes #13146.
Signed-off-by: Sean Quah <seanq@matrix.org>/syncs during partial joins (#13477)1 parent 49d04e4 commit 84169a8
File tree
3 files changed
+244
-34
lines changed- changelog.d
- synapse
- handlers
- storage/controllers
3 files changed
+244
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments