summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-09-09 16:56:08 +0100
committerGitHub <noreply@github.com>2020-09-09 16:56:08 +0100
commitc9dbee50aefc22390f600a0219ca7fa1ae9acd88 (patch)
tree4cdba63f3398d455aec93f9735618d86aa57072d /changelog.d
parentRevert "Fixup pusher pool notifications" (diff)
downloadsynapse-c9dbee50aefc22390f600a0219ca7fa1ae9acd88.tar.xz
Fixup pusher pool notifications (#8287)
`pusher_pool.on_new_notifications` expected a min and max stream ID, however that was not what we were passing in. Instead, let's just pass it the current max stream ID and have it track the last stream ID it got passed.

I believe that it mostly worked as we called the function for every event. However, it would break for events that got persisted out of order, i.e, that were persisted but the max stream ID wasn't incremented as not all preceding events had finished persisting, and push for that event would be delayed until another event got pushed to the effected users.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/8287.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8287.bugfix b/changelog.d/8287.bugfix
new file mode 100644
index 0000000000..839781aa07
--- /dev/null
+++ b/changelog.d/8287.bugfix
@@ -0,0 +1 @@
+Fix edge case where push could get delayed for a user until a later event was pushed.