analysis
authorJoey Hess <joeyh@joeyh.name>
Tue, 26 Sep 2023 17:18:08 +0000 (13:18 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 26 Sep 2023 17:18:08 +0000 (13:18 -0400)
doc/bugs/__34__Missing_location__34___with_partsize__39__d_uploads/comment_1_b3b767b3ab4a73590bf7e2af8640f906._comment [new file with mode: 0644]

diff --git a/doc/bugs/__34__Missing_location__34___with_partsize__39__d_uploads/comment_1_b3b767b3ab4a73590bf7e2af8640f906._comment b/doc/bugs/__34__Missing_location__34___with_partsize__39__d_uploads/comment_1_b3b767b3ab4a73590bf7e2af8640f906._comment
new file mode 100644 (file)
index 0000000..16c5a94
--- /dev/null
@@ -0,0 +1,25 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2023-09-26T17:07:59Z"
+ content="""
+The "Missing Location" message is generated by the aws library when a
+multipart upload results in a response from the S3 server that does not
+include a Location tag.
+
+You should be able to verify this by passing --debug to see the http
+response.
+
+This is documented in the AWS API
+[here](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html#AmazonS3-CompleteMultipartUpload-response-Location).
+
+I suspect this is (another) respect where the Garage server doesn't
+implement the API quite right..
+
+It would be possible to change the aws library to not throw an error here,
+and git-annex is not actually using that Location tag for anything. But it
+seems like it would probably be better to fix Garage.
+
+Setting chunk= rather than partsize= should be an easy workaround for the
+problem.
+"""]]