-
- Downloads
Track when the pulled event signature fails (#13815)
Because we're doing the recording in `_check_sigs_and_hash_for_pulled_events_and_fetch` (previously named `_check_sigs_and_hash_and_fetch`), this means we will track signature failures for `backfill`, `get_room_state`, `get_event_auth`, and `get_missing_events` (all pulled event scenarios). And we also record signature failures from `get_pdu`. Part of https://github.com/matrix-org/synapse/issues/13700 Part of https://github.com/matrix-org/synapse/issues/13676 and https://github.com/matrix-org/synapse/issues/13356 This PR will be especially important for https://github.com/matrix-org/synapse/pull/13816 so we can avoid the costly `_get_state_ids_after_missing_prev_event` down the line when `/messages` calls backfill.
Showing
- changelog.d/13815.feature 1 addition, 0 deletionschangelog.d/13815.feature
- synapse/federation/federation_base.py 22 additions, 3 deletionssynapse/federation/federation_base.py
- synapse/federation/federation_client.py 40 additions, 10 deletionssynapse/federation/federation_client.py
- tests/federation/test_federation_client.py 75 additions, 0 deletionstests/federation/test_federation_client.py
- tests/test_federation.py 2 additions, 2 deletionstests/test_federation.py
changelog.d/13815.feature
0 → 100644
Please register or sign in to comment