This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
"Pulled event failed history check" when backfilling #12539
Labels
A-Federation
A-Messages-Endpoint
/messages client API endpoint (`RoomMessageListRestServlet`) (which also triggers /backfill)
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Sometimes we fail to backfill events, with warnings like the following:
(this is taken from an attempt to back-paginate in
#synapse-dev
.)In this case,
$t48Htry7uXkIrbBvqFfzMFaYvNNZTjnYpn_Sq7E4b0Y
is anm.room.member
event, with aprev_event
of$45VO5ImZbpf5oZJB3LDFLX5SUlCfIWVG1F5ixtJSFqg
. Evidently,$45V...
is a backwards extremity onmaunium.net
, becausemaunium.net
is (correctly) returning$t48H...
from the/backfill
request, but is (also correctly) replying with a 404 to a state_ids request for$45V...
.We do eventually reply to the
/messages
request, but without the missing events.Fundamentally the problem here is that the federation protocol provides no way for us to get the state before a given event (indeed, Synapse does not store that data, though it can often be inferred). Instead we have to ask for the state after the the event's predecessors - which the remote server may not have.
The text was updated successfully, but these errors were encountered: