diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-02-15 14:16:48 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-02-15 14:16:48 -0400 |
commit | bd0c83bf21d6ebd646576e60bedd0444b33468c7 (patch) | |
tree | e5abcbf96b8180b16f25e166786db2208e9163df /doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant | |
parent | 3776ebfd3f94a46df0878a9cc506ed0e3ff2cbd2 (diff) | |
parent | 7644cfac07de00f1d298b01d1a9d62fc9587f295 (diff) |
Merge branch 'master' into database
Diffstat (limited to 'doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant')
3 files changed, 75 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_1_ab82b880bd75a206e0717146e1b79aba._comment b/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_1_ab82b880bd75a206e0717146e1b79aba._comment new file mode 100644 index 000000000..56d77a2d2 --- /dev/null +++ b/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_1_ab82b880bd75a206e0717146e1b79aba._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU" + nickname="Matt" + subject="comment 1" + date="2014-04-27T04:25:58Z" + content=""" +By the way these are indirect repos if that would make a difference. +"""]] diff --git a/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_2_460e78ea8603bd87203d8014bcc3eb9a._comment b/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_2_460e78ea8603bd87203d8014bcc3eb9a._comment new file mode 100644 index 000000000..ef70e0abd --- /dev/null +++ b/doc/bugs/git_annex_costs_not_working_as_expected_in_the_assistant/comment_2_460e78ea8603bd87203d8014bcc3eb9a._comment @@ -0,0 +1,55 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU" + nickname="Matt" + subject="comment 2" + date="2014-04-27T11:48:18Z" + content=""" +Here's the `.git/config` + +<pre> +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true +[branch \"master\"] + remote = home + merge = refs/heads/master +[annex] + uuid = 105776ba-bd78-4884-9126-aeb7c1e6da21 + version = 5 + diskreserve = 100 megabytes + autoupgrade = ask + debug = true + fscknudge = true +[remote \"dancingfrog\"] + url = ssh://10.23.33.19/Volumes/Media/iTunes Media/Music + fetch = +refs/heads/*:refs/remotes/dancingfrog/* + annex-uuid = c3cec307-367b-4373-8cb9-a3da67cee745 + annex-cost = 100 + annex-sync = true +[remote \"home\"] + url = home:/Volumes/Media/iTunes Media/Music + fetch = +refs/heads/*:refs/remotes/home/* + annex-uuid = c3cec307-367b-4373-8cb9-a3da67cee745 + annex-sync = true + annex-cost = 200 +[remote \"isilon\"] + url = gcrypt::ssh://rss/home/matt/mnt/isilon/rss/zzalsmf3/git-annex/mus + fetch = +refs/heads/*:refs/remotes/isilon/* + gcrypt-participants = 68D8501429C42E01 + gcrypt-signingkey = 68D8501429C42E01 + gcrypt-id = :id:92R1j7+L9r5LuWDi2ZlW + annex-gcrypt = true + annex-uuid = 949a8fc3-6334-5f5e-887d-b1e5725ea443 + annex-sync = true + annex-cost = 250 +[remote \"rss\"] + url = rss:Music + fetch = +refs/heads/*:refs/remotes/rss/* + annex-uuid = 79ff3c20-fab3-44dd-88f7-cc1a41eb73d6 + annex-sync = true + annex-cost = 200 + +</pre> +"""]] 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. +"""]] |