diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-18 13:59:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-18 13:59:03 -0400 |
commit | e9238e958877dff9d12a5a0ed396e93931de95ce (patch) | |
tree | b6bcec28853270ec2d6624754bfa219c462e70c1 /doc | |
parent | e6d4108fadcabf630e90012bab83107eaba040f2 (diff) |
avoid starting a download for a local transfer when the remote already has the key
Turns out that recvkey already does this same check. This avoids a transfer
file being created for the download that never happened, which in turn
will avoid the assistant seeing that the download has finished, when no
transfer actually took place.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/design/assistant/syncing.mdwn | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/design/assistant/syncing.mdwn b/doc/design/assistant/syncing.mdwn index b9c6016b2..7a445b353 100644 --- a/doc/design/assistant/syncing.mdwn +++ b/doc/design/assistant/syncing.mdwn @@ -36,10 +36,9 @@ all the other git clones, at both the git level and the key/value level. that already has the content) and loop, until the git-annex branches catch up and break the cycle. - Possible solution: C could record a download intent. (Similar to a failed + Possible solution: C could record a deferred download. (Similar to a failed download, but with an unknown source.) When C next receives a git-annex - branch push, it could try to requeue downloads that it has such intents - registered for. **done** + branch push, it could try to queue deferred downloads. **done** Note that this solution won't cover use cases the other does. For example, connect a USB drive A; B syncs files from it, and then should pass them to C. |