Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yesterday is after today #27003

Closed
exuvo opened this issue Feb 12, 2024 · 8 comments
Closed

Yesterday is after today #27003

exuvo opened this issue Feb 12, 2024 · 8 comments
Labels

Comments

@exuvo
Copy link

exuvo commented Feb 12, 2024

Steps to reproduce

  1. In an encrypted room chat, i see one of yesterdays messages at the bottom after todays messages.
  2. If i write a new message it is at the bottom for 1s then jumps up to above yesterdays message.
    2024-02-12-19:38:51

Outcome

What did you expect?

For yesterday to be before today

What happened instead?

Yesterday is after today (monday)

Operating system

Arch linux

Application version

Element desktop 1.11.54

How did you install the app?

distro package manager

Homeserver

matrix.org

Will you send logs?

Yes

@exuvo exuvo added the T-Defect label Feb 12, 2024
@t3chguy
Copy link
Member

t3chguy commented Feb 12, 2024

Events in Matrix are eventually consistent, this is normal and can happen if your server or the originating server is having federation issues causing the events to be delivered late.

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2024
@exuvo
Copy link
Author

exuvo commented Feb 12, 2024

It is only the main matrix server which i use, no federation or logins on other servers.

@t3chguy
Copy link
Member

t3chguy commented Feb 12, 2024

There is no "main" server, if you mean matrix.org then I suggest [email protected]

@exuvo
Copy link
Author

exuvo commented Feb 12, 2024

How many hours is the expected time for the "eventually consistent" to show things in the right order? Is a day too little?

@t3chguy
Copy link
Member

t3chguy commented Feb 12, 2024

The eventual consistency happens on the server, not the client. The client is fed with a linearised stream of events, abstracting the complexity, though sometimes ends up receiving out-of-order events from the server.

@exuvo
Copy link
Author

exuvo commented Feb 12, 2024

This client is on 24/7 and i wrote that message that is in the wrong place yesterday ca 20 hours ago on the very same client that is showing it out of order. My other android client is showing it correctly.

@exuvo
Copy link
Author

exuvo commented Feb 12, 2024

Restarted client and it now shows the stuck message as a not sent edit with a warning icon.

@t3chguy
Copy link
Member

t3chguy commented Feb 12, 2024

I suggest Settings > Help & About > Clear cache and reload

Different clients might see different things as matrix.org has many workers and your clients may be being served by different such workers causing a mismatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants