summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-07-22 10:13:01 +0100
committerGitHub <noreply@github.com>2022-07-22 10:13:01 +0100
commit158782c3ce1eb92e98df50645b03afcab4f22db0 (patch)
treef059bd235eb7e151fa368cdcf702edc8ceeb3b6a /changelog.d
parentRemove old empty/redundant slaved stores. (#13349) (diff)
downloadsynapse-158782c3ce1eb92e98df50645b03afcab4f22db0.tar.xz
Skip soft fail checks for rooms with partial state (#13354)
When a room has the partial state flag, we may not have an accurate
`m.room.member` event for event senders in the room's current state, and
so cannot perform soft fail checks correctly. Skip the soft fail check
entirely in this case.

As an alternative, we could block until we have full state, but that
would prevent us from receiving incoming events over federation, which
is undesirable.

Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/13354.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/13354.misc b/changelog.d/13354.misc
new file mode 100644
index 0000000000..e08ee7866a
--- /dev/null
+++ b/changelog.d/13354.misc
@@ -0,0 +1 @@
+Faster room joins: skip soft fail checks while Synapse only has partial room state, since the current membership of event senders may not be accurately known.