summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorMarek Matys <57749215+thermaq@users.noreply.github.com>2021-05-21 13:02:06 +0200
committerGitHub <noreply@github.com>2021-05-21 12:02:06 +0100
commit6a8643ff3da905568e3f2ec047182753352e39d1 (patch)
treef329eb78abd5a80f779be75df5d59b8442ed10d7 /changelog.d
parentAdd a batching queue implementation. (#10017) (diff)
downloadsynapse-6a8643ff3da905568e3f2ec047182753352e39d1.tar.xz
Fixed removal of new presence stream states (#10014)
Fixes: https://github.com/matrix-org/synapse/issues/9962

This is a fix for above problem.

I fixed it by swaping the order of insertion of new records and deletion of old ones. This ensures that we don't delete fresh database records as we do deletes before inserts.

Signed-off-by: Marek Matys <themarcq@gmail.com>
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/10014.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10014.bugfix b/changelog.d/10014.bugfix
new file mode 100644
index 0000000000..7cf3603f94
--- /dev/null
+++ b/changelog.d/10014.bugfix
@@ -0,0 +1 @@
+Fixed deletion of new presence stream states from database.