Since we are using the shared cache with the lock notify we won't receive SQLITE_BUSY errors but we could receive SQLITE_LOCKED errors due to deadlocks or locked tables on concurrent read and write transactions. This patch catches this kind of errors and retries the tx until maxTxRetries. |
||
|---|---|---|
| .. | ||
| create.go | ||
| db.go | ||