Skip to content

Element blocked on an infinite incremental sync #5162

Open
@BillCarsonFr

Description

@BillCarsonFr

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-E2EEA-SyncO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectSomething isn't working: bugs, crashes, hangs and other reported problemsX-Needs-Investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions