brawl-chat icon indicating copy to clipboard operation
brawl-chat copied to clipboard

Sync failed because of Error: Unknown Fragment id 10

Open bwindels opened this issue 6 years ago • 3 comments

after catchup sync on Android device after opening the app. This was right after upgrading to 0.0.21, with having synced this session only a few minutes before with 0.0.20

bwindels avatar May 07 '20 20:05 bwindels

So, this must happen during the timeline update, after the sync txn has been committed, because it's thrown from FragmentIdComparer._getIsland which is called from compare, which is only called when adding things to the timeline. The only timeline that is open is the one you are viewing, so it must have been for my "test8" room.

We could mitigate a bit here by not stopping sync on errors in the emit phase, but would need a way to expose those errors still. Perhaps make Sync.error an observable that can update independent of the SyncStatus?

bwindels avatar May 08 '20 07:05 bwindels

Happened again while looking at room RWI: Sync failed because of Error: Unknown fragment id 34

This was after having opened the app, done a catchup sync, and filled in the gap in between for the RWI room.

bwindels avatar Jun 26 '20 14:06 bwindels

happen on android pwa ... wonder if it can be provoked when opening a room at the same time as when the catchup sync result is written (and there is an update for the room we're opening)?

bwindels avatar Jul 01 '20 14:07 bwindels