MatrixSynapse/synapse/storage/databases/main
Eric Eastwood 957e3d74fc
Keep track when we try and fail to process a pulled event (#13589)
We can follow-up this PR with:

 1. Only try to backfill from an event if we haven't tried recently -> https://github.com/matrix-org/synapse/issues/13622
 1. When we decide to backfill that event again, process it in the background so it doesn't block and make `/messages` slow when we know it will probably fail again -> https://github.com/matrix-org/synapse/issues/13623
 1. Generally track failures everywhere we try and fail to pull an event over federation -> https://github.com/matrix-org/synapse/issues/13700

Fix https://github.com/matrix-org/synapse/issues/13621

Part of https://github.com/matrix-org/synapse/issues/13356

Mentioned in [internal doc](https://docs.google.com/document/d/1lvUoVfYUiy6UaHB6Rb4HicjaJAU40-APue9Q4vzuW3c/edit#bookmark=id.qv7cj51sv9i5)
2022-09-14 13:57:50 -05:00
..
__init__.py Use cache store remove base slaved (#13329) 2022-07-21 11:51:30 +01:00
account_data.py Speed up fetching large numbers of push rules (#13592) 2022-08-23 13:15:43 +01:00
appservice.py Federation Sender & Appservice Pusher Stream Optimisations (#13251) 2022-07-15 09:36:56 +01:00
cache.py Use cache store remove base slaved (#13329) 2022-07-21 11:51:30 +01:00
censor_events.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
client_ips.py
deviceinbox.py Add missing types to opentracing. (#13345) 2022-07-21 12:01:52 +00:00
devices.py Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
directory.py
e2e_room_keys.py
end_to_end_keys.py Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
event_federation.py Keep track when we try and fail to process a pulled event (#13589) 2022-09-14 13:57:50 -05:00
event_push_actions.py Update event push action and receipt tables to support threads. (#13753) 2022-09-14 17:11:16 +00:00
events.py Keep track when we try and fail to process a pulled event (#13589) 2022-09-14 13:57:50 -05:00
events_bg_updates.py Bg update to populate new `events` table columns (#13215) 2022-07-15 12:47:26 +01:00
events_forward_extremities.py
events_worker.py Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
filtering.py
keys.py
lock.py Require SQLite >= 3.27.0 (#13760) 2022-09-09 11:14:10 +01:00
media_repository.py Replace noop background updates with DELETE. (#12954) 2022-06-13 14:06:27 -04:00
metrics.py
monthly_active_users.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
openid.py
presence.py Revert "Make all `process_replication_rows` methods async (#13304)" (#13312) 2022-07-18 14:28:14 +01:00
profile.py
purge_events.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
push_rule.py Speed up fetching large numbers of push rules (#13592) 2022-08-23 13:15:43 +01:00
pusher.py
receipts.py Update event push action and receipt tables to support threads. (#13753) 2022-09-14 17:11:16 +00:00
registration.py Add timestamp to user's consent (#13741) 2022-09-08 15:41:48 +00:00
rejections.py
relations.py Remove unused argument for get_relations_for_event. (#13383) 2022-07-26 07:19:20 -04:00
room.py Cache `is_partial_state_room` (#13693) 2022-09-01 16:07:01 +01:00
room_batch.py
roommember.py Deduplicate `is_server_notices_room`. (#13780) 2022-09-14 15:53:18 +00:00
search.py Replace noop background updates with DELETE. (#12954) 2022-06-13 14:06:27 -04:00
session.py
signatures.py
state.py Instrument `get_metadata_for_events` for tracing (#13730) 2022-09-07 11:41:52 -05:00
state_deltas.py
stats.py Require SQLite >= 3.27.0 (#13760) 2022-09-09 11:14:10 +01:00
stream.py Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
tags.py Revert "Make all `process_replication_rows` methods async (#13304)" (#13312) 2022-07-18 14:28:14 +01:00
transactions.py Require SQLite >= 3.27.0 (#13760) 2022-09-09 11:14:10 +01:00
ui_auth.py
user_directory.py
user_erasure_store.py