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

Element blocked on an infinite incremental sync #5162

Open
BillCarsonFr opened this issue Feb 4, 2022 · 4 comments
Open

Element blocked on an infinite incremental sync #5162

BillCarsonFr opened this issue Feb 4, 2022 · 4 comments
Labels
A-E2EE A-Sync O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems X-Needs-Investigation

Comments

@BillCarsonFr
Copy link
Member

My EA is locked trying to handle a sync that took forever to process, forcing the app to finaly go in background.

By switching the logs to verbose, I can see that that infinite time is taken by MatrixHQ, trying to process an insane amount of m.room.membership (54k+ in just one log file)

=> Some problem noticed

-> My app can't process the sync, and will then process until the app enters background. Then all is cancelled. When the app will foreground again it will restart to call synapse for the sync/ then start process and fail
=> Infinite loop consume data

Also there is an issue with to_device, they will get re process several times, causing BAD_MAC on EA (and An Olm message got replayed on Element R)

@BillCarsonFr
Copy link
Member Author

Maybe related to that #4669

@ouchadam
Copy link
Contributor

ouchadam commented Feb 8, 2022

could it also be related to the recent reports of high battery usage? (we haven't been able to confirm yet)

@ouchadam ouchadam added A-E2EE A-Sync O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems X-Needs-Investigation labels Feb 8, 2022
@sefidel
Copy link

sefidel commented Apr 9, 2023

Old issue, but I've been having this exact problem for a few months now.
Happens every single day while performing gappy sync (in the morning), and you have to either wait 1h+ for it to finally sync, or manually trigger initial sync via developer mode.

Is this going to be fixed, or is it abandoned in favour of sliding sync?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-Sync O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems X-Needs-Investigation
Projects
None yet
Development

No branches or pull requests

3 participants