This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Extraneous requests for already-known events during client pagination (SYN-560) #1453
Labels
z-bug
(Deprecated Label)
A sytest test observes that synapse makes extraneous
/event/:event_id
requests for events it is known at that time to already have, when the client makes a pagination request.More specifically, when the client calls
/messages
athttps://github.com/matrix-org/sytest/blob/8511ea309840ee03403f3d73f5178d80362f6610/tests/50federation/34room-backfill.pl#L78
the Synapse-Under-Test has already been told the m.room.create and m.room.member event for the creator, as part of the
/send_join
response. Additionally, by inspecting its sqlite database just before it makes that call, those events do indeed appear in the file. However, by running this test, the SUT is observed to make two/event/
requests over federation with the event IDs of these very two events anyway.(Imported from https://matrix.org/jira/browse/SYN-560)
(Reported by @leonerd)
The text was updated successfully, but these errors were encountered: