-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`Command runner exits with 'Diesel error: database is locked' #4555
Comments
Needs some more detail |
stringhandler
pushed a commit
that referenced
this issue
Aug 30, 2022
#4564) Description --- Removed spawn blocking calls for db operations from the wallet in the key manager service. (This is another PR in a couple of PRs required to implement this fully throughout the wallet code.) Motivation and Context --- As per #3982 and #4555 How Has This Been Tested? --- Unit tests Cucumber tests
stringhandler
pushed a commit
that referenced
this issue
Aug 31, 2022
…4575) Description --- - Removed spawn blocking calls for db operations from the wallet in the contacts service. (This is another PR in a couple of PRs required to implement this fully throughout the wallet code.) - Reset the wallet's default db connection pool size back to 16 (from 5). Motivation and Context --- As per #3982 and #4555 How Has This Been Tested? --- Unit tests Cucumber tests System-level test
jorgeantonio21
pushed a commit
to jorgeantonio21/tari
that referenced
this issue
Aug 31, 2022
…ari-project#4575) Description --- - Removed spawn blocking calls for db operations from the wallet in the contacts service. (This is another PR in a couple of PRs required to implement this fully throughout the wallet code.) - Reset the wallet's default db connection pool size back to 16 (from 5). Motivation and Context --- As per tari-project#3982 and tari-project#4555 How Has This Been Tested? --- Unit tests Cucumber tests System-level test
stringhandler
pushed a commit
that referenced
this issue
Aug 31, 2022
Description --- Removed spawn blocking calls for db operations from the wallet in the wallet storage. (This is another PR in a couple of PRs required to implement this fully throughout the wallet code.) Motivation and Context --- As per #3982 and #4555 How Has This Been Tested? --- Unit tests Cucumber tests
sdbondi
pushed a commit
that referenced
this issue
Sep 2, 2022
…ing (transaction service) (#4597) Description --- Removed spawn blocking calls for db operations from the wallet in the transaction service. (This is the last PR in a couple of PRs required to implement this fully throughout the wallet code.) Motivation and Context --- As per #3982 and #4555 How Has This Been Tested? --- Unit tests Cucumber tests
Feedback:
|
We have implemented all the recommended pragmas See related discussion in stackoverflow |
See #4615 - |
stringhandler
pushed a commit
that referenced
this issue
Sep 6, 2022
Description --- Added error handling to the wallet command runner so that the system can gracefully recover rather than stop executing. This will also help to sort out the issues in #4555 as those long scripts exit prematurely. Motivation and Context --- Command execution stopped prematurely. How Has This Been Tested? --- System level tests
hansieodendaal
changed the title
Wallet panics with
`Command runner exits with 'Diesel error: database is locked'
Sep 6, 2022
Diesel error: database is locked
Repository owner
moved this from In Progress
to Done
in Tari Esme Testnet
Sep 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit: Title changed from
Wallet panics with 'Diesel error: database is locked'
toCommand runner exits with 'Diesel error: database is locked'
(The wallet did not actually panic)Examples:
Output manager storage error:
Diesel error: `database is locked```Key manager service error : Storage error:
Diesel error: `database is locked```Probable (most likely) cause:
The command script file (condensed for legibility):
The text was updated successfully, but these errors were encountered: