This commit is contained in:
Joey Hess 2022-05-25 13:43:33 -04:00
parent 2df856370a
commit d072d9cec2
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 17 additions and 0 deletions

View file

@ -79,3 +79,5 @@ Is there any diagnostic information I should collect to help troubleshooting the
[[!meta author=yoh]]
[[!tag projects/datalad]]
[[!meta title="SQLite3 returned ErrorBusy while attempting to perform step: database is locked"]]

View file

@ -0,0 +1,15 @@
[[!comment format=mdwn
username="joey"
subject="""comment 4"""
date="2022-05-25T16:49:30Z"
content="""
Concurrent writes to sqlite (in WAL mode) can fail,
but git-annex deals with that by retrying 100 times (once every 0.1 seconds).
So apparently other writes kept making it fail, or the database is somehow
stuck locked.
I think that the MVar blocking happens as a consequence of the sqlite
write failing and is not worth investigating separately, probably.
What filesystem is this happening on?
"""]]