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

Generates duplicate IDs when time is not monotonic #3

Open
fdlk opened this issue Jul 16, 2020 · 0 comments
Open

Generates duplicate IDs when time is not monotonic #3

fdlk opened this issue Jul 16, 2020 · 0 comments

Comments

@fdlk
Copy link

fdlk commented Jul 16, 2020

We just ran into an issue where duplicate IDs got generated.
I think this is because the code assumes that System.currentTimeMillis() is monotonic, which is not always so

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