diff options
| author | Heyang Zhou <zhy20000919@hotmail.com> | 2023-08-17 18:53:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-17 18:53:55 +0800 |
| commit | 0960e895da1275792c1f38999f6a185c864edb3f (patch) | |
| tree | 0b12abf31b0177c6c30d12ddc9f2aab1c8052d5c /ext/kv/Cargo.toml | |
| parent | ec63b36994527d0969d8083a6c4be8cd325c7473 (diff) | |
fix(ext/kv): retry transaction on `SQLITE_BUSY` errors (#20189)
Properly handle the `SQLITE_BUSY` error code by retrying the
transaction.
Also wraps database initialization logic in a transaction to protect
against incomplete/concurrent initializations.
Fixes https://github.com/denoland/deno/issues/20116.
Diffstat (limited to 'ext/kv/Cargo.toml')
| -rw-r--r-- | ext/kv/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml index 7866605c0..645689b74 100644 --- a/ext/kv/Cargo.toml +++ b/ext/kv/Cargo.toml @@ -19,6 +19,7 @@ async-trait.workspace = true base64.workspace = true deno_core.workspace = true hex.workspace = true +log.workspace = true num-bigint.workspace = true rand.workspace = true rusqlite.workspace = true |
