logseq / logseq/db-test

Sync finished with diverged state

Open
#1,147 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Search first
  • I searched and no similar issues were found
What Happened?

I added text to a journal page on Desktop and wanted to use it on mobile.

First nothing happened and both apps said sync was complete (green dot) and only started sync after several minutes. Even then the content is not perfectly in sync. One line is missing on desktop and the number of empty lines does not match.

The Sync is clearly still not reliable.

Reproduce the Bug
  1. Add text on one side
  2. Let it sync
  3. Check if content match
Expected Behavior

After sync the state has to be identical. Otherwise the sync can not be marked as successful!

Screenshots
Image Image

The first line does not match.

Files

No response

Browser, Desktop or Mobile Platform Information

NixOS 26.05.8409.f4f698677b11
Logseq-linux-x86_64-2.0.1-alpha+nightly.20260818

Android 13
2.0.1 (b09316a)

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.
  • I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. First reproduce the sync scenario between the NixOS desktop build and Android app using the listed steps, then trace the sync entry point and existing sync tests; done means matching text and empty-line counts on both devices, with sync reported successful only afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, nixos
Domain
desktop-dev, distributed-systems, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.