summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-03-18 16:46:41 +0000
committerGitHub <noreply@github.com>2020-03-18 16:46:41 +0000
commit4a17a647a9508b70de35130fd82e3e21474270a9 (patch)
tree5dae0bdea89f8639d6990854913fd81bfd9755ab /changelog.d
parentAdd an option to the set password API to choose whether to logout other devic... (diff)
downloadsynapse-4a17a647a9508b70de35130fd82e3e21474270a9.tar.xz
Improve get auth chain difference algorithm. (#7095)
It was originally implemented by pulling the full auth chain of all
state sets out of the database and doing set comparison. However, that
can take a lot work if the state and auth chains are large.

Instead, lets try and fetch the auth chains at the same time and
calculate the difference on the fly, allowing us to bail early if all
the auth chains converge. Assuming that the auth chains do converge more
often than not, this should improve performance. Hopefully.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/7095.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7095.misc b/changelog.d/7095.misc
new file mode 100644
index 0000000000..44fc9f616f
--- /dev/null
+++ b/changelog.d/7095.misc
@@ -0,0 +1 @@
+Attempt to improve performance of state res v2 algorithm.