diff options
author | Erik Johnston <erik@matrix.org> | 2023-08-18 15:32:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 15:32:06 +0100 |
commit | bd558a6dc369b6f5d06ab6fd2500faa216a45883 (patch) | |
tree | 8cd5827573d1537d23b62ed152d52b2840d6e854 /changelog.d | |
parent | MSC3861: allow impersonation by an admin using a query param (#16132) (diff) | |
download | synapse-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.bugfix | 1 |
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. |