diff options
author | Erik Johnston <erikj@element.io> | 2024-04-08 14:25:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-08 14:25:28 +0100 |
commit | 1f8f991d51a3311d67ea0b717bf168553d51b441 (patch) | |
tree | f1410e259a4c91981430781d08ad8c94bf8b6fee /changelog.d | |
parent | Pull out fewer receipts from DB when doing push (#17049) (diff) | |
download | synapse-1f8f991d51a3311d67ea0b717bf168553d51b441.tar.xz |
Add back fast path for non-gappy syncs (#17064)
PR #16942 removed an invalid optimisation that avoided pulling out state for non-gappy syncs. This causes a large increase in DB usage. c.f. #16941 for why that optimisation was wrong. However, we can still optimise in the simple case where the events in the timeline are a linear chain without any branching/merging of the DAG. cc. @richvdh
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/17064.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/17064.bugfix b/changelog.d/17064.bugfix new file mode 100644 index 0000000000..99ed435d75 --- /dev/null +++ b/changelog.d/17064.bugfix @@ -0,0 +1 @@ +Fix various long-standing bugs which could cause incorrect state to be returned from `/sync` in certain situations. |