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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悆 Ordering tie breaker can cause undefined ordering with the same identity #513

Open
DanielVF opened this issue Nov 29, 2018 · 0 comments

Comments

@DanielVF
Copy link

The current log ordering uses the Lamport clock first, then breaks ties by using the public id of the Orbit DB identity that created the entry.

Because of the current limitation on changing access controls after a database is created, it's often required for a single identity to be reused by the same user on different devices. This means however that the same identity may by syncing with itself. In this case there may be entries with identical clock .id and clock.time fields. This can cause ordering to become non-deterministic.

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