forked-synapse/synapse/handlers
Erik Johnston 0a96fa52a2
Pull less state out if we fail to backfill (#16788)
Sometimes we fail to fetch events during backfill due to missing state,
and we often end up querying the same bad events periodically (as people
backpaginate). In such cases its likely we will continue to fail to get
the state, and therefore we should try *before* loading the state that
we have from the DB (as otherwise it's wasted DB and memory).

---------

Co-authored-by: reivilibre <oliverw@matrix.org>
2024-01-10 14:42:13 +00:00
..
ui_auth Update license headers 2023-11-21 15:29:58 -05:00
__init__.py Update license headers 2023-11-21 15:29:58 -05:00
account_data.py Update license headers 2023-11-21 15:29:58 -05:00
account_validity.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
account.py Update license headers 2023-11-21 15:29:58 -05:00
admin.py Simplify internal metadata class. (#16762) 2024-01-05 13:03:20 +00:00
appservice.py Update license headers 2023-11-21 15:29:58 -05:00
auth.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
cas.py Update license headers 2023-11-21 15:29:58 -05:00
deactivate_account.py Update license headers 2023-11-21 15:29:58 -05:00
device.py Update license headers 2023-11-21 15:29:58 -05:00
devicemessage.py Update license headers 2023-11-21 15:29:58 -05:00
directory.py Update license headers 2023-11-21 15:29:58 -05:00
e2e_keys.py Update license headers 2023-11-21 15:29:58 -05:00
e2e_room_keys.py Update license headers 2023-11-21 15:29:58 -05:00
event_auth.py Update license headers 2023-11-21 15:29:58 -05:00
events.py Update license headers 2023-11-21 15:29:58 -05:00
federation_event.py Pull less state out if we fail to backfill (#16788) 2024-01-10 14:42:13 +00:00
federation.py Update license headers 2023-11-21 15:29:58 -05:00
identity.py Update license headers 2023-11-21 15:29:58 -05:00
initial_sync.py Update license headers 2023-11-21 15:29:58 -05:00
jwt.py Update license headers 2023-11-21 15:29:58 -05:00
message.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
oidc.py Update license headers 2023-11-21 15:29:58 -05:00
pagination.py Update license headers 2023-11-21 15:29:58 -05:00
password_policy.py Update license headers 2023-11-21 15:29:58 -05:00
presence.py Update license headers 2023-11-21 15:29:58 -05:00
profile.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
push_rules.py Update license headers 2023-11-21 15:29:58 -05:00
read_marker.py Update license headers 2023-11-21 15:29:58 -05:00
receipts.py Update license headers 2023-11-21 15:29:58 -05:00
register.py Update license headers 2023-11-21 15:29:58 -05:00
relations.py Add recursion_depth to /relations if recursing (#16775) 2024-01-04 09:57:21 +00:00
room_list.py Filter out rooms from the room directory being served to other homeservers when those rooms block that homeserver by their Access Control Lists. (#16759) 2024-01-08 17:24:20 +00:00
room_member_worker.py Update license headers 2023-11-21 15:29:58 -05:00
room_member.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
room_summary.py Reduce amount of state pulled out when querying federation hierachy (#16785) 2024-01-10 14:31:35 +00:00
room.py Fix linting (#16780) 2024-01-05 13:29:00 +00:00
saml.py Update license headers 2023-11-21 15:29:58 -05:00
search.py Update license headers 2023-11-21 15:29:58 -05:00
send_email.py Update license headers 2023-11-21 15:29:58 -05:00
set_password.py Update license headers 2023-11-21 15:29:58 -05:00
sso.py Update license headers 2023-11-21 15:29:58 -05:00
state_deltas.py Update license headers 2023-11-21 15:29:58 -05:00
stats.py Update license headers 2023-11-21 15:29:58 -05:00
sync.py Simplify internal metadata class. (#16762) 2024-01-05 13:03:20 +00:00
typing.py Update license headers 2023-11-21 15:29:58 -05:00
user_directory.py Update license headers 2023-11-21 15:29:58 -05:00
worker_lock.py Update license headers 2023-11-21 15:29:58 -05:00