summaryrefslogtreecommitdiff
path: root/doc/bugs/Race_condition_between_watch__47__assistant_and_addurl/comment_1_8f56b8661a600729d7a9d569e8a0ba70._comment
blob: cf010cd2537b205cac70b2332f1199fdd6e6b4b6 (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
[[!comment format=mdwn
 username="http://johan.kiviniemi.name/"
 nickname="Johan"
 subject="Another race condition"
 date="2014-03-31T03:42:42Z"
 content="""
Here’s another race condition which seems related:

[[!format sh \"\"\"
% git annex addurl 'quvi:http://youtu.be/-CbFj9K9AQg'
addurl David_Raymond_Christiansen___Dependently_Typed_Programming_in_Idris___A_Demo.webm 
--2014-03-31 05:45:49--  http://r4---sn-oxc0a5-ixae.googlevideo.com/videoplayback?<cut>
Resolving r4---sn-oxc0a5-ixae.googlevideo.com (r4---sn-oxc0a5-ixae.googlevideo.com)... 83.145.196.143, 2001:1bc8:100:1b::f
Connecting to r4---sn-oxc0a5-ixae.googlevideo.com (r4---sn-oxc0a5-ixae.googlevideo.com)|83.145.196.143|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://r13---sn-5go7dn7s.googlevideo.com/videoplayback?<cut> [following]
--2014-03-31 05:45:49--  http://r13---sn-5go7dn7s.googlevideo.com/videoplayback?<cut>
Resolving r13---sn-5go7dn7s.googlevideo.com (r13---sn-5go7dn7s.googlevideo.com)... 173.194.48.18, 2a00:1450:400f::12
Connecting to r13---sn-5go7dn7s.googlevideo.com (r13---sn-5go7dn7s.googlevideo.com)|173.194.48.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 320557466 (306M) [video/webm]
Saving to: ‘/home/ion/nobackup/media/video/.git/annex/tmp/URL--quvi&chttp&c%%youtu.be%-CbFj9K9AQg’

100%[======================================>] 320,557,466  895KB/s   in 6m 14s 

2014-03-31 05:52:04 (837 KB/s) - ‘/home/ion/nobackup/media/video/.git/annex/tmp/URL--quvi&chttp&c%%youtu.be%-CbFj9K9AQg’ saved [320557466/320557466]

(Recording state in git...)
fatal: Unable to create '/home/ion/nobackup/media/video/.git/index.lock': File exists.

If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.

git-annex: user error (xargs [\"-0\",\"git\",\"--git-dir=/home/ion/nobackup/media/video/.git\",\"--work-tree=/home/ion/nobackup/media/video\",\"-c\",\"core.bare=false\",\"add\",\"--\"] exited 123)
failed
git-annex: addurl: 1 failed

% ls -l /home/ion/nobackup/media/video/.git/index.lock
ls: cannot access /home/ion/nobackup/media/video/.git/index.lock: No such file or directory
\"\"\"]]

The only lines in daemon.log from that time:

[[!format sh \"\"\"
[2014-03-31 05:52:04 EEST] Committer: Committing changes to git
[2014-03-31 05:52:04 EEST] Pusher: Syncing with heh.fi 
Already up-to-date.
To heh.fi:/storage/ion/media/video
   3df241b..095d6c3  git-annex -> synced/git-annex
   10b3166..98074c1  annex/direct/master -> synced/master
Already up-to-date.
\"\"\"]]

"""]]