8000 Monotonicity not embraced · Issue #4 · omgnetwork/ex_ulid · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Monotonicity not embraced #4

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

Open
unnawut opened this issue Mar 12, 2019 · 0 comments
Open

Monotonicity not embraced #4

unnawut opened this issue Mar 12, 2019 · 0 comments

Comments

@unnawut
Copy link
Contributor
unnawut commented Mar 12, 2019

Subject of the issue

Tests were failing in omgnetwork/ewallet#844 due to rapid consecutive inserts. The records could not be sorted by ID for creation time because the inserts were done within same milliseconds.

See the workaround needed: omgnetwork/ewallet@ce9d98f

See ULID specs on monotonicity: https://github.com/ulid/spec#monotonicity

Steps to reproduce

Create multiple ULIDs within the same millisecond.

Expected behavior

ULIDs generated within a millisecond should be sortable by creation time.

Actual behavior

ULIDs generated within a millisecond are not sortable by creation time.

@unnawut unnawut added the bug ⚠️ Something isn't working label Mar 12, 2019
@unnawut unnawut self-assigned this Mar 12, 2019
@unnawut unnawut added s0/buffer help wanted 🙌 Extra attention is needed good first issue 🚸 Good for newcomers labels Mar 12, 2019
@T-Dnzt T-Dnzt added flag/help wanted 🙌 and removed bug ⚠️ Something isn't working help wanted 🙌 Extra attention is needed labels Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0