summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-08-18 15:32:06 +0100
committerGitHub <noreply@github.com>2023-08-18 15:32:06 +0100
commitbd558a6dc369b6f5d06ab6fd2500faa216a45883 (patch)
tree8cd5827573d1537d23b62ed152d52b2840d6e854 /changelog.d
parentMSC3861: allow impersonation by an admin using a query param (#16132) (diff)
downloadsynapse-bd558a6dc369b6f5d06ab6fd2500faa216a45883.tar.xz
Speed up state res in rare case we don't have all events (#16116)
If we don't have all the auth events in a room then not all state events will have a chain cover index. Even so, we can still use the chain cover index on the events that do have it, rather than bailing and using the slower functions.

This situation should not arise for newly persisted rooms, as we check we have the full auth chain for each event, but can happen for existing rooms.

c.f. #15245
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/16116.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/16116.bugfix b/changelog.d/16116.bugfix
new file mode 100644
index 0000000000..f57a26ae39
--- /dev/null
+++ b/changelog.d/16116.bugfix
@@ -0,0 +1 @@
+Fix performance of state resolutions for large, old rooms that did not have the full auth chain persisted.