From 3f2bbae4cb9549b45cf84bad048651ea8be76643 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 22 Sep 2022 13:21:10 -0400 Subject: [PATCH] reproduced this now --- ...34__modified__34___whenever_it_is_not.mdwn | 2 ++ ..._927028d040b0e24d772b667324b1a5e1._comment | 9 ++++++++ ..._64ba2901154b629a9697b427f3ad92e2._comment | 21 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_8_927028d040b0e24d772b667324b1a5e1._comment create mode 100644 doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_9_64ba2901154b629a9697b427f3ad92e2._comment diff --git a/doc/bugs/reports_file___34__modified__34___whenever_it_is_not.mdwn b/doc/bugs/reports_file___34__modified__34___whenever_it_is_not.mdwn index ee7f06bf72..fc6f712b0d 100644 --- a/doc/bugs/reports_file___34__modified__34___whenever_it_is_not.mdwn +++ b/doc/bugs/reports_file___34__modified__34___whenever_it_is_not.mdwn @@ -90,3 +90,5 @@ I think I get it after I `annex move` and then `annex get` that file back. Just [[!meta author=yoh]] [[!tag projects/dandi]] + +> [[!meta title="annex.stalldetection prevents git-annex get from restaging unlocked files"]] diff --git a/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_8_927028d040b0e24d772b667324b1a5e1._comment b/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_8_927028d040b0e24d772b667324b1a5e1._comment new file mode 100644 index 0000000000..422fc09ad2 --- /dev/null +++ b/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_8_927028d040b0e24d772b667324b1a5e1._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 8""" + date="2022-09-22T17:02:04Z" + content=""" +I've fixed the issue I found with --timestamp combined with -J. Which I do +think could have resulted in the same kind of problem. But you've shown +that is not the cause in your case.. +"""]] diff --git a/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_9_64ba2901154b629a9697b427f3ad92e2._comment b/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_9_64ba2901154b629a9697b427f3ad92e2._comment new file mode 100644 index 0000000000..6e05545118 --- /dev/null +++ b/doc/bugs/reports_file___34__modified__34___whenever_it_is_not/comment_9_64ba2901154b629a9697b427f3ad92e2._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 9""" + date="2022-09-22T17:04:35Z" + content=""" +Thanks for the --debug. It shows that git-annex is asking git to refresh the index, +although from this we can't see for sure if it fed the name of the file in on stdin or not: + + [2022-09-21 21:30:03.77319] (Utility.Process) process [3968453] feed: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.debug=true\",\"update-index\",\"-z\",\"--index-info\"] + +The other thing that seems maybe relevant is that the transfer happens in a `git-annex transferrer` process. +So, I think you have annex.stalldetection set. + + [2022-09-21 21:29:59.931525] (Utility.Process) process [3968203] chat: /home/dandi/miniconda3/envs/dandisets/bin/git-annex [\"transferrer\",\"-c\",\"annex.debug=true\"] + +And interestingly, that transferrer process fails at the end: + + [2022-09-21 21:30:06.373343] (Utility.Process) process [3968203] done ExitFailure 1 + +Aha! I can reproduce it by setting annex.stalldetection. +"""]]