summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://joeyh.name/ <http://joeyh.name/@web>2014-05-19 16:44:19 +0000
committerGravatar admin <admin@branchable.com>2014-05-19 16:44:19 +0000
commit954c4910f873c28cd9f39ad77f41b9d4e8760200 (patch)
treef909e65d6d1b12d0e0714eeb038ac80a47a15f54
parentd56fa9fef66a8cff679b4c2908d5fc99bcbdcd56 (diff)
Added a comment
-rw-r--r--doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_3_17e9c2d29ddadcabc30ce884ffe0f853._comment12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_3_17e9c2d29ddadcabc30ce884ffe0f853._comment b/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_3_17e9c2d29ddadcabc30ce884ffe0f853._comment
new file mode 100644
index 000000000..1ff0f0b61
--- /dev/null
+++ b/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_3_17e9c2d29ddadcabc30ce884ffe0f853._comment
@@ -0,0 +1,12 @@
+[[!comment format=mdwn
+ username="http://joeyh.name/"
+ ip="216.145.95.162"
+ subject="comment 3"
+ date="2014-05-19T16:44:19Z"
+ content="""
+When the assistant wants to download a file, it queues a transfer from all remotes that are known to have the file, with the lowest cost remotes first. If it fails to get the file from the lowest cost remote, it automatically falls back to the next lowest cost, and so on.
+
+If there's a bug here, I'd suspect strongly it's due to having 2 remotes with the same UUID.
+
+Yes, I think I've found it. Assistant.TransferSlots.genTransfer calls performTransfer, which is passed only the Transfer, not the Remote. So it then looks up a remote with the UUID from the Transfer. To fix this, I will need to adjust the transferkeys command's protocol to include the name of the remote that should be used.
+"""]]