summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-10-12 14:27:09 +0100
committerGitHub <noreply@github.com>2021-10-12 14:27:09 +0100
commit333d6f4e843c49002623417e6aa22da0521c4742 (patch)
tree2bfb0fa0c8e6c4120cede6923c6c339a600adfd4 /changelog.d
parentReset global cache state before cache tests. (#11036) (diff)
downloadsynapse-333d6f4e843c49002623417e6aa22da0521c4742.tar.xz
Fix race in `MultiWriterIdGenerator` (#11045)
The race allowed the current position to advance too far when stream IDs
are still being persisted.

This happened when it received a new stream ID from a remote write
between a new stream ID being allocated and it being added to the set of
unpersisted stream IDs.

Fixes #9424.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/11045.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11045.bugfix b/changelog.d/11045.bugfix
new file mode 100644
index 0000000000..d712dc946a
--- /dev/null
+++ b/changelog.d/11045.bugfix
@@ -0,0 +1 @@
+Fix a long-standing bug when using multiple event persister workers where events were not correctly sent down `/sync` due to a race.