From 333d6f4e843c49002623417e6aa22da0521c4742 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 12 Oct 2021 14:27:09 +0100 Subject: 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. --- changelog.d/11045.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/11045.bugfix (limited to 'changelog.d') 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. -- cgit 1.4.1