summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-12-02 15:22:37 +0000
committerGitHub <noreply@github.com>2020-12-02 15:22:37 +0000
commitc5b6abd53d1549c7a7cc30c644dd8921bfc10ea2 (patch)
tree91db5d4531d4d67d94b810530de24540d06f7ec8 /changelog.d
parentAdd missing prometheus rules for persisted events (#8802) (diff)
downloadsynapse-c5b6abd53d1549c7a7cc30c644dd8921bfc10ea2.tar.xz
Correctly handle unpersisted events when calculating auth chain difference. (#8827)
We do state res with unpersisted events when calculating the new current state of the room, so that should be the only thing impacted. I don't think this is tooooo big of a deal as:

1. the next time a state event happens in the room the current state should correct itself;
2. in the common case all the unpersisted events' auth events will be pulled in by other state, so will still return the correct result (or one which is sufficiently close to not affect the result); and
3. we mostly use the state at an event to do important operations, which isn't affected by this.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/8827.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8827.bugfix b/changelog.d/8827.bugfix
new file mode 100644
index 0000000000..18195680d3
--- /dev/null
+++ b/changelog.d/8827.bugfix
@@ -0,0 +1 @@
+Fix bug where we might not correctly calculate the current state for rooms with multiple extremities.