-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Are writes ordered? #29
Comments
Writes are not ordered (at least by design, and I doubt that |
I think we might need to add a clear warning for this in the docs. I for one assumed that they would be ordered. |
That would be good. PR welcome. |
Done as part of Level/abstract-level#42. |
I see that we are using
napi_create_async_work
. However, I can't read anywhere whether or not work items are guaranteed to be executed in order or not. If not then we might have a problem with write ordering, i.e. preceding writes overwriting following writes.Do we need to create our own per db ordered work queue?
The text was updated successfully, but these errors were encountered: