Re: [sqlite] .NET System.Data.SQLite, how trap SQLITE_BUSY_SNAPSHOT (WAL) and retry

2015-01-14 Thread Simon Slavin
On 13 Jan 2015, at 10:53pm, Andreas Hofmann wrote: > Ideally, SQLite should retry itself, but I am not sure if this is supported. SQLite supports it just fine.

[sqlite] .NET System.Data.SQLite, how trap SQLITE_BUSY_SNAPSHOT (WAL) and retry

2015-01-14 Thread Andreas Hofmann
Hi, I am using WAL. If I use a new db connection for every write (as usually suggested practice) and connection pooling is enabled, my writes are quite a bit faster. Good so far. However, I also see some db locks occurring, specifically: (517) SQLITE_BUSY_SNAPSHOT For some reason, the