summaryrefslogtreecommitdiff
path: root/doc/todo/enable_fsck_--fast_for_S3_remotes.mdwn
blob: 77392b36d637057c696b4f69981a3a350abc9e89 (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
At the moment, ``git annex fsck --fast -f S3remote`` fails as

[[!format sh """
> git annex fsck --fast -f S3remote
(checking cloud...) [2015-04-24 21:39:35 BST] String to sign: "HEAD\n\n\nFri, 24 Apr 2015 20:39:35 GMT\n/BUCKET/GPGHMACSHA1--6e7e880f80de44ddd845c6241198622b9102eaa1"
[2015-04-24 21:39:35 BST] Host: "BUCKET.s3-ap-southeast-2.amazonaws.com"
[2015-04-24 21:39:35 BST] Path: "/GPGHMACSHA1--6e7e880f80de44ddd845c6241198622b9102eaa1"
[2015-04-24 21:39:35 BST] Query string: ""
[2015-04-24 21:39:36 BST] Response status: Status {statusCode = 200, statusMessage = "OK"}
[2015-04-24 21:39:36 BST] Response header 'x-amz-id-2': 'D9wtD8voZZgijJRc6i8i0QasAo85REdMMf4GpRaER5+g6sDaUYtCKi42RCdYU0kBxrx4d4dM4xM='
[2015-04-24 21:39:36 BST] Response header 'x-amz-request-id': 'DDF95C327078E584'
[2015-04-24 21:39:36 BST] Response header 'Date': 'Fri, 24 Apr 2015 20:39:37 GMT'
[2015-04-24 21:39:36 BST] Response header 'Last-Modified': 'Sun, 02 Nov 2014 05:42:48 GMT'
[2015-04-24 21:39:36 BST] Response header 'ETag': '"3bd1b766a68a305ba0495af36b353a07"'
[2015-04-24 21:39:36 BST] Response header 'Accept-Ranges': 'bytes'
[2015-04-24 21:39:36 BST] Response header 'Content-Type': ''
[2015-04-24 21:39:36 BST] Response header 'Content-Length': '775647'
[2015-04-24 21:39:36 BST] Response header 'Server': 'AmazonS3'
[2015-04-24 21:39:36 BST] Response metadata: S3: request ID=<none>, x-amz-id-2=<none>

  failed to download file from remote

failed
"""]]


while ``git annex fsck -f S3remote`` works fine. But, to check for the presence of a file (which is my understanding of what ``--fast`` is for here), it shouldn't be necessary to download the file.

> [[fixed|done]]; it was not supposed to fail at all in this case, and 
> won't anymore. --[[Joey]]