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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1081324]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found