Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Events recieved out of order occasionally (days apart) #15656

Closed
catfromplan9 opened this issue May 23, 2023 · 9 comments
Closed

Events recieved out of order occasionally (days apart) #15656

catfromplan9 opened this issue May 23, 2023 · 9 comments
Labels
A-Federation X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@catfromplan9
Copy link

Description

There is no trend to it as far as which server this occurs on, it just happens periodically in random rooms. Could be because a large HS deleted all accounts and this built up a large federated event queue? Unsure. Message date says today but it is listed where 3 day old messages are, that sort of thing

Steps to reproduce

  • unsure

Homeserver

Synapse

Synapse Version

1.83.0

Installation Method

Debian packages from packages.matrix.org

Database

Postgres

Workers

Single process

Platform

Debian sid, bare metal

Configuration

No response

Relevant log output

N/A

Anything else that would be useful to know?

No response

@catfromplan9
Copy link
Author

catfromplan9 commented May 23, 2023

I'd like to give you logs but I'm not sure how I'd find them considering how much logs there is to sift through

@reivilibre
Copy link
Contributor

This isn't entirely unexpected if a homeserver is having e.g. outages or network connection problems.
You also might see this sort of thing if e.g. your homeserver is IPv6 or IPv4 only but some other homeservers in the room are the opposite.

I appreciate it's hard to fish out any details to investigate this on your end but it is also hard to say anything interesting without any details :)

@MadLittleMods MadLittleMods added A-Federation X-Needs-Info This issue is blocked awaiting information from the reporter labels May 25, 2023
@catfromplan9
Copy link
Author

This isn't entirely unexpected if a homeserver is having e.g. outages or network connection problems. You also might see this sort of thing if e.g. your homeserver is IPv6 or IPv4 only but some other homeservers in the room are the opposite.

I appreciate it's hard to fish out any details to investigate this on your end but it is also hard to say anything interesting without any details :)

Seems like now its only happening for matrix.org and most other HS in room have the issue

@catfromplan9
Copy link
Author

Ok, now its not having issues for some messages. Its hard to describe this, just buggy behaviour regarding event federation in general I suppose?

@catfromplan9
Copy link
Author

Did some talking to server admin and this might be a state reset bug

@catfromplan9
Copy link
Author

Please fix state resets someone, this makes matrix unusable for anything large scale if randomly some bans/room topic setting can just undo themselves, or some federation breaks between random servers

And yes, new issue discovered is that an arbitrary list of servers cannot see messages from all the other servers that are not those. Its nothing specific with the servers, nothing remarkable. Seemingly just complete random odds on if server will break in room

@H-Shay
Copy link
Contributor

H-Shay commented May 30, 2023

I'm a little unclear on what's being reported here - it sounds like you believe the buggy behavior to be related to state resets? If so we should close this issue in favor of #8629

@catfromplan9
Copy link
Author

I'm a little unclear on what's being reported here - it sounds like you believe the buggy behavior to be related to state resets? If so we should close this issue in favor of #8629

State reset is an issue, but also events do not federate to some servers from some other servers. Maybe this is a part of the state reset problem? I'm not sure

@H-Shay
Copy link
Contributor

H-Shay commented Jun 1, 2023

Right - given that there isn't anything specific we can investigate here, I am going to close this.

@H-Shay H-Shay closed this as completed Jun 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Federation X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

4 participants