-
Notifications
You must be signed in to change notification settings - Fork 171
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
Multiprocess access #138
Comments
More specifically, if my read/write process is by itself, it works fine. Once I start up the read only process (it opens the db with the UNQLITE_OPEN_READONLY flag), after a short while, on a commit, I will get an error -14 (UNQLITE_BUSY). If I then retry the commit, I get a segfault. |
I was able to get a backtrace of the faulting r/w process. This fault occurs after a commit returns a -14, and then this fault occurs on the retried commit.
|
If I do a rollback when I get the commit failure, then upon retry, I do not get a crash, but I get a repeated server busy error. |
Hi Chuck, This issue has been addressed on our latest bug fix. Refer to the issue: #137 for additional information. Please update to the latest patch fix. |
I have one process that needs to read data only and one process that will be r/w to the same database. This is on a local Linux file system. I seem to be having some process instability doing this. Are there C flags that I should pass to my applications to insure this runs stably? Under what conditions may the reader encounter lock conditions?
The text was updated successfully, but these errors were encountered: