diff options
author | Erik Johnston <erik@matrix.org> | 2021-10-12 14:27:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 14:27:09 +0100 |
commit | 333d6f4e843c49002623417e6aa22da0521c4742 (patch) | |
tree | 2bfb0fa0c8e6c4120cede6923c6c339a600adfd4 /synapse/util | |
parent | Reset global cache state before cache tests. (#11036) (diff) | |
download | synapse-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 'synapse/util')
0 files changed, 0 insertions, 0 deletions