summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2023-01-20 12:06:19 +0000
committerGitHub <noreply@github.com>2023-01-20 12:06:19 +0000
commitcdea7c11d082e73606bea5d0462f7971e90d836c (patch)
treed502e2c20e3ee1b8667835152a7c01dde2e0aa7a /changelog.d
parentFix bug in wait for stream position (#14872) (diff)
downloadsynapse-cdea7c11d082e73606bea5d0462f7971e90d836c.tar.xz
Faster joins: Avoid starting duplicate partial state syncs (#14844)
Currently, we will try to start a new partial state sync every time we
perform a remote join, which is undesirable if there is already one
running for a given room.

We intend to perform remote joins whenever additional local users wish
to join a partial state room, so let's ensure that we do not start more
than one concurrent partial state sync for any given room.

------------------------------------------------------------------------

There is a race condition where the homeserver leaves a room and later
rejoins while the partial state sync from the previous membership is
still running. There is no guarantee that the previous partial state
sync will process the latest join, so we restart it if needed.

Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/14844.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14844.misc b/changelog.d/14844.misc
new file mode 100644
index 0000000000..30ce866304
--- /dev/null
+++ b/changelog.d/14844.misc
@@ -0,0 +1 @@
+Add check to avoid starting duplicate partial state syncs.