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

Position of TagMap entries are non-deterministic #32

Open
AndreasSko opened this issue Nov 9, 2020 · 0 comments
Open

Position of TagMap entries are non-deterministic #32

AndreasSko opened this issue Nov 9, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@AndreasSko
Copy link
Owner

When running the same merge multiple times, it can happen that the position of TagMap entries change. Maybe it is possible
to introduce some sorting in the merge process of TagMaps to make it deterministic.

Steps to reproduce:

  • Create a merged backup from the left and right test cases in merge_test.go, select right side if a conflict happens
  • Run go-jwlm merge left.jwlibrary right.jwlibrary merged.jwlibrary --bookmarks chooseRight --notes chooseRight --markings chooseRight && go-jwlm compare merged.jwlibrary <other-merged-db> multiple times until ❌ Backups are NOT equal is returned
@AndreasSko AndreasSko added the bug Something isn't working label Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant