summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-01-29 11:23:01 +0000
committerGitHub <noreply@github.com>2020-01-29 11:23:01 +0000
commit6b9e1014cf9c107f3198999159fbc935376fdcc9 (patch)
treed2807e44b6797d6cc44f8a1c8992d060b8a4b104 /synapse/events
parentDelete current state when server leaves a room (#6792) (diff)
downloadsynapse-6b9e1014cf9c107f3198999159fbc935376fdcc9.tar.xz
Fix race in federation sender that delayed device updates. (#6799)
We were sending device updates down both the federation stream and
device streams. This mean there was a race if the federation sender
worker processed the federation stream first, as when the sender checked
if there were new device updates the slaved ID generator hadn't been
updated with the new stream IDs and so returned nothing.

This situation is correctly handled by events/receipts/etc by not
sending updates down the federation stream and instead having the
federation sender worker listen on the other streams and poke the
transaction queues as appropriate.
Diffstat (limited to 'synapse/events')
0 files changed, 0 insertions, 0 deletions