summary refs log tree commit diff
path: root/synapse/handlers/device.py
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 /synapse/handlers/device.py
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 'synapse/handlers/device.py')
0 files changed, 0 insertions, 0 deletions