This commit is contained in:
Joey Hess 2023-07-05 12:11:48 -04:00
parent 5aad0cea83
commit c2c2abe6ca
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2023-07-05T16:00:25Z"
content="""
Reproduced. The adds do run in parallel, the content transfers do not.
"""]]

View file

@ -0,0 +1,25 @@
git init g
cd g
git annex init
git commit --allow-empty -m foo
cd ..
git clone g g2
git clone g g3
cd g3
git remote add g2 ../g2
git-annex assist
date > n
date > n2
date > n3
dd if=/dev/urandom of=n4 bs=1M count=200
dd if=/dev/urandom of=n5 bs=1M count=200
git-annex assist --jobs=2
git-annex move --from origin
git-annex move --from g2
The final move fails, complaining it's not safe to drop the last copy. It
has somehow lost track of the fact that there's a local copy.
This only happens when using assist. Using add followed by sync --content
doesn't have the problem. And with --jobs=1 it doesn't have the problem
either. --[[Joey]]