-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Logseq Sync stablility on Android // Data loss with Sync Beta #8377
Description
Search first
- I searched and no similar issues were found
What Happened?
I noticed 2 occurrences of partial data loss while using Sync Beta.
The first time I noticed it today was with a block I created on the 2023-01-13 journal based on a template for "Calls". I have not noticed the green or orange light right away for the Sync status. I only used that device on that day so I was not worried and I know that the sync light was green later that day. Fast forward to today, on the same computer, the block is totally missing, it appears that all the other content is still around. The computer is using version 0.8.16. It is highly likely that the journal page has been accessed on Android app 0.8.15.
The second time is with another journal entry for 2023-01-16 which was modified in the late evening on Android 0.8.15. There was no template involved, just typing content. I waited to make sure the entry had been synced before locking the screen on the mobile device. While revisiting the journal entry to add content today, I noticed that the edited block along with its grand-parent block (2 levels up) was missing. This one was easy to notice because my journal uses a template and the entire section is missing. The grand-parent had been initially created on Android 0.8.15, I added more content on another computer (not the one from the example above) using version 0.8.15, the content was accessible on Android throughout the day. I opened the graph on the computer from the example above (0.8.16) to edit other pages. When I went back on Android, I noticed that the block was missing.
I looked in the logseq/bak/journals on both Android and the 2 Computers for any trace of the missing content but I couldn't find it,
I am aware that this report is most likely missing crucial debugging information. I hope it provides a bit of information to be able to correlate with possible future incidents.
Reproduce the Bug
I have tried to reproduce the bug by entering data in both Andoid and the computer but was not able to reproduce it. It seemed that sync was pickup changes much slower than previously (~15 seconds to sync). That did not cause any block or child-block to lose its content though, especially not in the middle of a journal entryAndroidchild block
Expected Behavior
Sync does not lose content
Screenshots
No response
Desktop or Mobile Platform Information
Computer 1: Windows 10, Logseq 0.8.16, using Sync Beta
Computer 2: Windows 10, Logseq 0.8.15 using Sync Beta
Mobile: Pixel 7 on Android 13 (Build TQ1A.221205.011), Logseq 0.8.15 using Sync Beta
Additional Context
Could the version mismatch be the cause of the data loss?
Are you willing to submit a PR?
- I'm willing to submit a PR (Thank you!)