From a0fd757056183b67a8a5684f7d794edcc88479e5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 6 Mar 2018 13:05:37 -0400 Subject: followup --- ...ent_2_8432a49e6af69efbfcb4d615e147f873._comment | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 doc/bugs/howto_guarantee_a_single_instance_of_a_special_remote__63__/comment_2_8432a49e6af69efbfcb4d615e147f873._comment diff --git a/doc/bugs/howto_guarantee_a_single_instance_of_a_special_remote__63__/comment_2_8432a49e6af69efbfcb4d615e147f873._comment b/doc/bugs/howto_guarantee_a_single_instance_of_a_special_remote__63__/comment_2_8432a49e6af69efbfcb4d615e147f873._comment new file mode 100644 index 000000000..51c0c38be --- /dev/null +++ b/doc/bugs/howto_guarantee_a_single_instance_of_a_special_remote__63__/comment_2_8432a49e6af69efbfcb4d615e147f873._comment @@ -0,0 +1,38 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2018-03-06T16:33:41Z" + content=""" +Ok, audited all exceptions thrown in there, +and the only other one that stood out is +that TRANSFER-FAILURE throws an exception -- but that one +is ok because it's in a Retriever, all of which exceptions are caught. + +But hmm, PREPARE-FAILURE throwing an exception when git-annex is preparing +before retrieving a key is in the same Retriever, so that exception also +should not be a problem. There might be other cases where PREPARE-FAILURE +throwing an exception is not desirable, but this is not one. + +--- + +Oh, I see, the bug report is really about some -J specific issue! + +I'm having difficulty reproducing it. I have two external special remotes +that both send PREPARE-FAILURE, and when a file is present in both, +`git annex get -J2` does try both of them: + + [2018-03-06 12:45:21.123121045] chat: /home/joey/bin/git-annex-remote-directory [] + [2018-03-06 12:45:21.125524418] git-annex-remote-directory[1] --> VERSION 1 + [2018-03-06 12:45:21.125702152] git-annex-remote-directory[1] <-- EXTENSIONS INFO + [2018-03-06 12:45:21.126005492] git-annex-remote-directory[1] --> UNSUPPORTED-REQUEST + [2018-03-06 12:45:21.126186941] git-annex-remote-directory[1] <-- PREPARE + [2018-03-06 12:45:21.126518978] git-annex-remote-directory[1] --> PREPARE_FAILURE OOK + [2018-03-06 12:45:21.129247706] chat: /home/joey/bin/git-annex-remote-directory [] + [2018-03-06 12:45:21.131475605] git-annex-remote-directory[1] --> VERSION 1 + [2018-03-06 12:45:21.131636898] git-annex-remote-directory[1] <-- EXTENSIONS INFO + [2018-03-06 12:45:21.131848068] git-annex-remote-directory[1] --> UNSUPPORTED-REQUEST + [2018-03-06 12:45:21.131953342] git-annex-remote-directory[1] <-- PREPARE + [2018-03-06 12:45:21.132127177] git-annex-remote-directory[1] --> PREPARE_FAILURE OOK + get foo (from d1...) (from d2...) + Unable to access these remotes: d1, d2 +"""]] -- cgit v1.2.3