synapse-product/synapse/federation
Erik Johnston 6b9e1014cf
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.
2020-01-29 11:23:01 +00:00
..
sender Wake up transaction queue when remote server comes back online (#6706) 2020-01-17 10:27:19 +00:00
transport Wake up transaction queue when remote server comes back online (#6706) 2020-01-17 10:27:19 +00:00
__init__.py Remove unused ReplicationLayer 2018-03-13 11:00:04 +00:00
federation_base.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
federation_client.py Add rooms.room_version column (#6729) 2020-01-27 14:30:57 +00:00
federation_server.py Process EDUs in parallel with PDUs. (#6697) 2020-01-14 14:08:35 +00:00
persistence.py Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
send_queue.py Fix race in federation sender that delayed device updates. (#6799) 2020-01-29 11:23:01 +00:00
units.py Link the send loop with the edus contexts 2019-09-05 14:42:37 +01:00