Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Unexpected and uncatchable database corruption errors using DBD::SQLite & Parallel::ForkManager

by djerius (Beadle)
on Apr 06, 2014 at 19:19 UTC ( #1081324=note: print w/ replies, xml ) Need Help??


in reply to Re: Unexpected and uncatchable database corruption errors using DBD::SQLite & Parallel::ForkManager
in thread Unexpected and uncatchable database corruption errors using DBD::SQLite & Parallel::ForkManager

The SQLite documentation indicates that it can handle multiple simultaneous read connections. It only allows one writer at a time, locking the database during the write. If it cannot lock the database, it returns a "database is locked" error.

I'm testing this on a local disk (no NFS shenanigans involved), so the locking mechanism should work.


Comment on Re^2: Unexpected and uncatchable database corruption errors using DBD::SQLite & Parallel::ForkManager

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081324]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2015-01-29 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (235 votes), past polls