export: Let concurrent transfers be done with -J or annex.jobs

Tested working, although I did find this bug in my testing, which also
afflicts sync -J to an export remote.
This commit is contained in:
Joey Hess 2020-05-26 11:43:58 -04:00
parent f7fe71602c
commit 0bcecb67f5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,13 @@
git annex sync exportremote -J2 --content
git-annex: thread blocked indefinitely in an MVar operation
failed
git-annex: thread blocked indefinitely in an STM transaction
Also, git-annex export -J2 crashes the same way. I discovered this bug
when adding -J to export, but then found sync had the same bug.
To reproduce this, there may need there to be a tree of several annexed
files whose content is not locally available. In my case,
there were 338 of them. It seems to export all, or all but 1
before crashing. --[[Joey]]