0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-07 07:08:57 +01:00
synapse/changelog.d/11045.bugfix
Erik Johnston 333d6f4e84
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.
2021-10-12 14:27:09 +01:00

1 line
133 B
Text

Fix a long-standing bug when using multiple event persister workers where events were not correctly sent down `/sync` due to a race.