forked-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

2 lines
133 B
Plaintext

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