diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2023-02-03 15:39:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 15:39:59 +0000 |
commit | 0a686d1d13c497af84f62ca192a401fdc18387ab (patch) | |
tree | 957f546554b6a193e3e01fbd530349abb259d636 /changelog.d | |
parent | Reload the pyo3-log config when the Python logging config changes. (#14976) (diff) | |
download | synapse-0a686d1d13c497af84f62ca192a401fdc18387ab.tar.xz |
Faster joins: Refactor handling of servers in room (#14954)
Ensure that the list of servers in a partial state room always contains the server we joined off. Also refactor `get_partial_state_servers_at_join` to return `None` when the given room is no longer partial stated, to explicitly indicate when the room has partial state. Otherwise it's not clear whether an empty list means that the room has full state, or the room is partial stated, but the server we joined off told us that there are no servers in the room. Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/14954.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14954.misc b/changelog.d/14954.misc new file mode 100644 index 0000000000..b86b6bf01e --- /dev/null +++ b/changelog.d/14954.misc @@ -0,0 +1 @@ +Faster room joins: Refactor internal handling of servers in room to never store an empty list. |