[sqlite] SQLITE_READONLY_ROLLBACK due to expected race?

2015-09-11 Thread Dan Kennedy
On 09/09/2015 08:48 PM, Matthew Flatt wrote: > The documentation for SQLITE_READONLY_ROLLBACK suggests that it will > only happen as a result of a previous crash or power failure, where a > hot journal is left behind. I'm seeing that error without those events > and with a small number of

[sqlite] SQLITE_READONLY_ROLLBACK due to expected race?

2015-09-09 Thread Matthew Flatt
The documentation for SQLITE_READONLY_ROLLBACK suggests that it will only happen as a result of a previous crash or power failure, where a hot journal is left behind. I'm seeing that error without those events and with a small number of concurrent readers and writers. In the implementation of