anonymousland-synapse/synapse/federation
David Robertson f160fe18e3
Debug for device lists updates (#11760)
Debug for #8631.

I'm having a hard time tracking down what's going wrong in that issue.
In the reported example, I could see server A sending federation traffic
to server B and all was well. Yet B reports out-of-sync device updates
from A.

I couldn't see what was _in_ the events being sent from A to B. So I
have added some crude logging to track

- when we have updates to send to a remote HS
- the edus we actually accumulate to send
- when a federation transaction includes a device list update edu
- when such an EDU is received

This is a bit of a sledgehammer.
2022-01-20 13:38:44 +00:00
..
sender Debug for device lists updates (#11760) 2022-01-20 13:38:44 +00:00
transport Debug for device lists updates (#11760) 2022-01-20 13:38:44 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
federation_base.py Strip unauthorized fields from unsigned object in events received over federation (#11530) 2022-01-06 09:09:30 -08:00
federation_client.py Fix a bug that corrupted the cache of federated space hierarchies (#11775) 2022-01-20 11:03:42 +00:00
federation_server.py Remove log_function and its uses (#11761) 2022-01-18 13:06:04 +00:00
persistence.py Remove log_function and its uses (#11761) 2022-01-18 13:06:04 +00:00
send_queue.py Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
units.py Convert Transaction and Edu object to attrs (#10542) 2021-08-06 09:39:59 -04:00