This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Better handle invalid events when backfilling #8451
Labels
A-Federation
A-Messages-Endpoint
/messages client API endpoint (`RoomMessageListRestServlet`) (which also triggers /backfill)
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
If we drop an event (or otherwise end up with a gap) when processing a response to a
/backfill
request we'll subsequently try always try and/backfill
at the gap whenever a client paginates past this point. This is a bit sucky and slows things down a lot.Potential solutions include:
prev_events
, for example if we have events C -> B -> A, where B is a dodgy event, then we can still note that B fills a gap between C and A and so there is no longer a gap there. (This is safe due to event ID as hashes)The text was updated successfully, but these errors were encountered: