summaryrefslogtreecommitdiff
path: root/doc/bugs/__34__transfers_in_progress__34___gets_the_direction_wrong.mdwn
blob: e0b02a704be405c38e96f882173e79a0271d7a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
### Please describe the problem.

    07:32 warp@18-volt:/mnt/zooyork/annex/somerepo (master)$ git annex info --fast
    repository mode: indirect
    trusted repositories: 0
    semitrusted repositories: 4
    	00000000-0000-0000-0000-000000000001 -- web
     	3dca408f-ccfd-48df-a8a0-b7d517a482ef -- zooyork [here]
     	9fbb4e2c-4ed9-47b4-877c-74d2eeea6296 -- [kirby]
     	d1b57403-2bc2-41d8-9a8e-eec0d3f31e67 -- [pucca]
    untrusted repositories: 0
    transfers in progress: 
    	downloading folder/some-large-file.mp4 from pucca
    available local disk space: 232.2 gigabytes (+1 megabyte reserved)

The "transfers in progress" section of the above "git annex info" output describes a file being downloaded from pucca, presumably to [here], which is zooyork.  This does not describe the transfer correctly, when I ran the "git annex info --fast" command another git annex process was downloading folder/some-large-file.mp4 from zooyork to pucca (so, in the other direction than git annex info described).

### What steps will reproduce the problem?

1. Make two regular git annex repositories, add some big files so a transfer takes long enough that you can run some git annex commands while the transfer is ongoing
2. cd /repo/a ; git annex get a-big-file.mp4 --from=b
3. (in a different window), cd /repo/b ; git annex info --fast

### What version of git-annex are you using? On what operating system?

    07:37 warp@18-volt:/mnt/zooyork/annex$ git annex version
    git-annex version: 5.20141105-g8b19598
    build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA CryptoHash
    key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
    remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier ddar hook external

    07:37 warp@18-volt:/mnt/zooyork/annex$ lsb_release -a
    No LSB modules are available.
    Distributor ID:	Ubuntu
    Description:	Ubuntu 14.04 LTS
    Release:	14.04
    Codename:	trusty


### Please provide any additional information below.

If you need more info, I'm "kuno" in the #git-annex IRC channel.

[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log


# End of transcript or log.
"""]]

> When I follow those steps, I see "uploading bigfile" in repo B,
> which is indeed the case since repo A is downloading that file from B.
> 
> I suspect you're the one who got confused. [[done]] --[[Joey]]