Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 imbibing at the Monastery: (5)
As of 2015-09-01 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (367 votes), past polls