Write transactions fail with 'database is locked' under concurrent writes issue #21 closed: completed andymccall opened this · 0 comments
andymccall set labels bug ·
closed by change 941abdd6bb4c ·
andymccall set labels bug ·
closed by change 941abdd6bb4c ·
OxygenFlow log appends failed with HTTP 500 'database is locked' on Earth while other writes were in progress, losing log lines. Write transactions read and then write in a deferred transaction, which SQLite fails at once when another writer holds the lock, whatever the busy timeout.