You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are two threads, one is writing the database and the other is reading the database via id.
Then the reading thread can't observe the result of the writing thread. @mpollmeier
The text was updated successfully, but these errors were encountered:
Yes, that's what I would expect. There's currently no measures of any kind in place to guarantee read/write consistency and atomicity. Almost everything is optimized for fast reads.
We're working on a new storage engine which will be a bit more explicit about all this, and we will then also document these properties. The storage engine will be even more optimized for reads, but probably with better consistency constraints.
overflowdb/core/src/main/java/overflowdb/util/NodesList.java
Line 74 in 0af4b29
overflowdb/core/src/main/java/overflowdb/util/NodesList.java
Line 37 in 0af4b29
If there are two threads, one is writing the database and the other is reading the database via id.
Then the reading thread can't observe the result of the writing thread.
@mpollmeier
The text was updated successfully, but these errors were encountered: