Added a comment

This commit is contained in:
asakurareiko@f3d908c71c009580228b264f63f21c7274df7476 2021-10-21 02:06:50 +00:00 committed by admin
parent c6d1c7d209
commit ae80b1214c

View file

@ -0,0 +1,46 @@
[[!comment format=mdwn
username="asakurareiko@f3d908c71c009580228b264f63f21c7274df7476"
nickname="asakurareiko"
avatar="http://cdn.libravatar.org/avatar/a865743e357add9d15081840179ce082"
subject="comment 11"
date="2021-10-21T02:06:50Z"
content="""
I found a new type of failure which occurs when there are new unlocked files in the index.
```
git init
git annex init
git config annex.crippledfilesystem true
git config annex.addunlocked true
touch a
git annex add . # OK
touch b
git annex add . # 1 error
touch c
git annex add . # 2 errors
```
Something is happening to the files already in the index and the error is triggered once per file in the index.
```
add c
ok
sqlite worker thread crashed: user error (SQLite3 returned ErrorProtocol while attempting to perform prepare \"SELECT null from content limit 1\": locking protocol(while opening database connection))
git-annex: sqlite query crashed: thread blocked indefinitely in an MVar operation
CallStack (from HasCallStack):
error, called at ./Database/Handle.hs:102:40 in main:Database.Handle
error: external filter 'git-annex smudge --clean -- %f' failed 1
error: external filter 'git-annex smudge --clean -- %f' failed
add a
ok
sqlite worker thread crashed: user error (SQLite3 returned ErrorProtocol while attempting to perform prepare \"SELECT null from content limit 1\": locking protocol(while opening database connection))
git-annex: sqlite query crashed: thread blocked indefinitely in an MVar operation
CallStack (from HasCallStack):
error, called at ./Database/Handle.hs:102:40 in main:Database.Handle
error: external filter 'git-annex smudge --clean -- %f' failed 1
error: external filter 'git-annex smudge --clean -- %f' failed
add b
ok
(recording state in git...)
```
"""]]