-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[BUG] No thread safety since 5.0.21 #2554
Comments
Solved? |
this is the same issue as this. |
I have a litedb 4 in production that works very well since 2018. |
I have written a test project showing the bug & effect. We will update our older issue and that should help to fix it. As written by others the bug was introduced in one of the last releases. For us it was visible as we updated from .20 to .21. So, the good news is that older versions should be safe. |
Here is an Examlpe Repo cleary showing the problem. |
Thanks 👍 |
Version
5.0.21
Describe the bug
We assume that a LiteDatabase instance is not thread-safe since the last update (V 5.0.21), maybe this PR was wrong: #2447
Our application writes code to the same LiteDatabase instance in different threads. And since 5.0.21 we have a strange bug that sometimes writes corrupt data.
The text was updated successfully, but these errors were encountered: