diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-29 11:23:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 11:23:01 +0000 |
commit | 6b9e1014cf9c107f3198999159fbc935376fdcc9 (patch) | |
tree | d2807e44b6797d6cc44f8a1c8992d060b8a4b104 /synapse/federation/sender | |
parent | Delete current state when server leaves a room (#6792) (diff) | |
download | synapse-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/federation/sender')
0 files changed, 0 insertions, 0 deletions