From c2c2abe6ca9dc2a384bd169bd4a5be6523584e45 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 5 Jul 2023 12:11:48 -0400 Subject: [PATCH] bug --- ..._96b3c705c7c83b153cde2e8bb16ed380._comment | 7 ++++++ ...ist_--jobs_loses_location_information.mdwn | 25 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 doc/bugs/__39__git_annex_assist__39___doesn__39__t_honor_--jobs/comment_1_96b3c705c7c83b153cde2e8bb16ed380._comment create mode 100644 doc/bugs/assist_--jobs_loses_location_information.mdwn diff --git a/doc/bugs/__39__git_annex_assist__39___doesn__39__t_honor_--jobs/comment_1_96b3c705c7c83b153cde2e8bb16ed380._comment b/doc/bugs/__39__git_annex_assist__39___doesn__39__t_honor_--jobs/comment_1_96b3c705c7c83b153cde2e8bb16ed380._comment new file mode 100644 index 0000000000..6717fa0747 --- /dev/null +++ b/doc/bugs/__39__git_annex_assist__39___doesn__39__t_honor_--jobs/comment_1_96b3c705c7c83b153cde2e8bb16ed380._comment @@ -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. +"""]] diff --git a/doc/bugs/assist_--jobs_loses_location_information.mdwn b/doc/bugs/assist_--jobs_loses_location_information.mdwn new file mode 100644 index 0000000000..f45d648a6d --- /dev/null +++ b/doc/bugs/assist_--jobs_loses_location_information.mdwn @@ -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]]