This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Enabling federation_sender in the worker-enabled docker image causes Complement tests to fail #9192
Labels
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
X-Needs-Info
This issue is blocked awaiting information from the reporter
When adding
federation_sender
to the list of enabled workers (via theSYNAPSE_WORKERS
env var) to the Synapse worker Docker image, Complement tests that rely on receiving federation transactions fail. This is predictably due to the in-built Complement server never receiving any federation transactions from Synapse.@MatMaul and myself have looked into this, and have so far concluded that:
send_federation
istrue
for thefederation_sender
work andfalse
for the master process, as intended.federation_sender
is starting up correctly.federation_sender_instances
to thefederation_sender
config does not help (nor should it really, as we're only using one federation sender...)My hunch is that somehow the master process is not communicating transactions that need to be sent out to the federation sender. Additionally, while enabling other workers poses no problems, it's worth noting that Complement still only has a very small number of tests. As such the federation sender may not be the only worker having issues; it may just be the first to show them.
The text was updated successfully, but these errors were encountered: