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

Make federation catchup send last event from any server. #9640

Merged
merged 3 commits into from
Mar 18, 2021

Commits on Mar 17, 2021

  1. Make federation catchup send last event from any server.

    Currently federation catchup will send the last *local* event that we
    failed to send to the remote. This can cause issues for large rooms
    where lots of servers have sent events while the remote server was down,
    as when it comes back up again it'll be flooded with events from various
    points in the DAG.
    
    Instead, let's make it so that all the servers send the most recent
    events, even if its not theirs. The remote should deduplicate the
    events, so there shouldn't be much overhead in doing this.
    Alternatively, the servers could only send local events if they were
    also extremities and hope that the other server will send the event
    over, but that is a bit risky.
    erikjohnston committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    833d681 View commit details
    Browse the repository at this point in the history
  2. Newsfile

    erikjohnston committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    5457159 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Add comment

    erikjohnston committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    2cf843e View commit details
    Browse the repository at this point in the history