MatrixSynapse/synapse
David Robertson f160fe18e3
Debug for device lists updates ()
Debug for .

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
..
_scripts Add a flag to the `synapse_review_recent_signups` script to ignore and filter appservice users. () 2022-01-17 16:43:25 +00:00
api Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
app Merge branch 'master' into develop 2022-01-18 16:46:39 +00:00
appservice Add missing type hints to `synapse.appservice` () 2021-12-14 17:02:46 +00:00
config Fix up docs for `track_puppeted_user_ips` (again) () 2022-01-17 14:55:30 +00:00
crypto Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
events Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
federation Debug for device lists updates () 2022-01-20 13:38:44 +00:00
groups Add type annotations to `synapse.metrics` () 2021-11-17 19:07:02 +00:00
handlers Fix a bug that corrupted the cache of federated space hierarchies () 2022-01-20 11:03:42 +00:00
http Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
logging Add missing `auto_attribs=True` to the `_WrappedRustReporter` class () 2022-01-19 12:39:11 +00:00
metrics Fix mypy for platforms without epoll support. () 2022-01-19 16:50:09 +00:00
module_api Fix `ModuleApi.looping_background_call` for non-async functions () 2021-12-07 11:41:31 +00:00
push Fix missing app variable in mail subject () 2022-01-13 20:19:10 +00:00
replication Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
res
rest Fix preview of imgur and Tenor URLs. () 2022-01-18 13:20:24 -05:00
server_notices disallow-untyped-defs for synapse.server_notices () 2021-10-07 19:55:15 +01:00
spam_checker_api
state Remove `log_function` and its uses () 2022-01-18 13:06:04 +00:00
static
storage Debug for device lists updates () 2022-01-20 13:38:44 +00:00
streams Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
util Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
__init__.py 1.50.1 2022-01-18 16:09:04 +00:00
event_auth.py Check *all* auth events for room id and rejection () 2021-10-18 18:28:30 +01:00
notifier.py Remove `log_function` and its uses () 2022-01-18 13:06:04 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations () 2021-10-13 08:42:41 +01:00
python_dependencies.py Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common () 2022-01-05 11:41:49 +00:00
server.py Bundle aggregations outside of the serialization method. () 2022-01-07 09:10:46 -05:00
types.py Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
visibility.py