forked-synapse/synapse/federation
Erik Johnston dd71eb0f8a
Make federation catchup send last event from any server. (#9640)
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.
2021-03-18 15:52:26 +00:00
..
sender Make federation catchup send last event from any server. (#9640) 2021-03-18 15:52:26 +00:00
transport Add configs to make profile data more private (#9203) 2021-02-19 09:50:41 +00:00
__init__.py Remove unused ReplicationLayer 2018-03-13 11:00:04 +00:00
federation_base.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
federation_client.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
federation_server.py Make federation catchup send last event from any server. (#9640) 2021-03-18 15:52:26 +00:00
persistence.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
send_queue.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
units.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00