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

fix change conflicts foreign key violation in sync #214

Open
samuelstroschein opened this issue Dec 15, 2024 — with Linear · 1 comment
Open

fix change conflicts foreign key violation in sync #214

samuelstroschein opened this issue Dec 15, 2024 — with Linear · 1 comment

Comments

Copy link
Member

Context

Sync'ing versions with change conflicts leads to foreign key violations in createChangeConflict within the sync mechanism.

CleanShot 2024-12-15 at 17.15.03@2x.png

Reproduction

  1. Open lix on client A
  2. Open same lix on client B
  3. Provoke a conflict (by for example setting the server url differently)
  4. Lix host will log SQLITE foreign key violation.
samuelstroschein added a commit to opral/monorepo that referenced this issue Dec 16, 2024
Copy link
Member Author

interim fix by deactivating foreign on the server a49d72bd952af65c226144dca3f5537b963b967f to enable sync for dec 16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant