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 /changelog.d/6799.bugfix | |
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 'changelog.d/6799.bugfix')
-rw-r--r-- | changelog.d/6799.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/6799.bugfix b/changelog.d/6799.bugfix new file mode 100644 index 0000000000..322a2758af --- /dev/null +++ b/changelog.d/6799.bugfix @@ -0,0 +1 @@ +Fix race in federation sender worker that delayed sending of device updates. |