Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix race in federation sender that delayed device updates. #6799

Merged
merged 2 commits into from
Jan 29, 2020

Commits on Jan 29, 2020

  1. Fix race in federation sender that delayed device updates.

    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.
    erikjohnston committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    a87494b View commit details
    Browse the repository at this point in the history
  2. Newsfile

    erikjohnston committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    c29d911 View commit details
    Browse the repository at this point in the history