)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"3feb50903128e6ec9d799e6b43692d21b2bc0ed6","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"s3api: reject part uploads for completed upload IDs"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"_get_upload_info can return the completed object when the upload marker"},{"line_number":10,"context_line":"is missing. PartController.PUT ignores this distinction and permits a"},{"line_number":11,"context_line":"part upload to replace a segment of the completed object. A later GET"},{"line_number":12,"context_line":"then fails with BrokenMPU."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"498a8cd7_a5a0c191","line":9,"range":{"start_line":9,"start_character":17,"end_line":9,"end_character":48},"updated":"2026-11-05 11:41:02.000000000","message":"it doesn\u0027t return the object, it returns a HEAD response","commit_id":"51a0ce607a06515371d2122e69228627610cd57e"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"3feb50903128e6ec9d799e6b43692d21b2bc0ed6","unresolved":true,"context_lines":[{"line_number":12,"context_line":"then fails with BrokenMPU."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Check the existing is_marker flag and return NoSuchUpload before a part"},{"line_number":15,"context_line":"write or copy when the helper returns the completed object. Keep the"},{"line_number":16,"context_line":"shared helper unchanged so that completion retries still work."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Add regression coverage for UploadPart and UploadPartCopy with ACL"},{"line_number":19,"context_line":"checks enabled and disabled."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5acd7ad2_e4774a96","line":16,"range":{"start_line":15,"start_character":60,"end_line":16,"end_character":62},"updated":"2026-11-05 11:41:02.000000000","message":"but this means the HEAD request to the manifest is a waste when we don\u0027t want to know about the manifest\n\nI think it might be better to have two versions of _get_upload_info \n\n``_get_upload_info_from_marker `` and ``_get_upload_info_from_manifest``\n\nso we explicitly know when the second call is being used.\n\nA refactor patch first would then make this bug fix patch very precise.","commit_id":"51a0ce607a06515371d2122e69228627610cd57e"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"3feb50903128e6ec9d799e6b43692d21b2bc0ed6","unresolved":true,"context_lines":[{"line_number":22,"context_line":"marker response or a part write admitted before completion from allowing"},{"line_number":23,"context_line":"a later segment replacement."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Partial-Bug: #2172734"},{"line_number":26,"context_line":"Change-Id: I1c9bfd26821eb267c7db916d4f680ff9c69e5984"},{"line_number":27,"context_line":"Signed-off-by: Jianjian Huo \u003cjhuo@nvidia.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"4a6aea69_db20fe46","line":25,"updated":"2026-11-05 11:41:02.000000000","message":"please add \n\n```\nRelated-Change: I38958839be5b250c9d268ec7c50a56cdb56c2fa2\n\n```","commit_id":"51a0ce607a06515371d2122e69228627610cd57e"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"3feb50903128e6ec9d799e6b43692d21b2bc0ed6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"0cfd347e_2c80c2fd","updated":"2026-11-05 11:41:02.000000000","message":"-1 because we should add a compat test to justify this change\n\nI think that refactor to avoid a wasted HEAD and also make behaviour more explicit would be very nice to have.\n\nThe incorrect response message is off-topic, please see related fixes: \n\ns3api: Fix NoSuchUpload error message  https://review.opendev.org/c/openstack/swift/+/1014299\ns3api test: add repeat CompleteMultipartUpload scenario  https://review.opendev.org/c/openstack/swift/+/1014300","commit_id":"51a0ce607a06515371d2122e69228627610cd57e"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"a7cdd872e53417c4eab3a211e1789466252ff53f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"2fd0ea08_e7d9d43a","updated":"2026-11-05 01:09:07.000000000","message":"recheck","commit_id":"51a0ce607a06515371d2122e69228627610cd57e"}],"swift/common/middleware/s3api/controllers/multi_upload.py":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"3feb50903128e6ec9d799e6b43692d21b2bc0ed6","unresolved":true,"context_lines":[{"line_number":203,"context_line":"        part_number \u003d req.validate_part_number()"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"        upload_id \u003d get_param(req, \u0027uploadId\u0027)"},{"line_number":206,"context_line":"        _, is_marker \u003d _get_upload_info(req, self.app, upload_id)"},{"line_number":207,"context_line":"        if not is_marker:"},{"line_number":208,"context_line":"            # The upload is complete. A part write can replace a segment"},{"line_number":209,"context_line":"            # that the completed object uses."}],"source_content_type":"text/x-python","patch_set":1,"id":"44e1077b_caf2372c","line":206,"range":{"start_line":206,"start_character":23,"end_line":206,"end_character":39},"updated":"2026-11-05 11:41:02.000000000","message":"let\u0027s not do the extra HEAD to the manifest when we don\u0027t care about it","commit_id":"51a0ce607a06515371d2122e69228627610cd57e"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"3feb50903128e6ec9d799e6b43692d21b2bc0ed6","unresolved":true,"context_lines":[{"line_number":207,"context_line":"        if not is_marker:"},{"line_number":208,"context_line":"            # The upload is complete. A part write can replace a segment"},{"line_number":209,"context_line":"            # that the completed object uses."},{"line_number":210,"context_line":"            raise NoSuchUpload(upload_id\u003dupload_id)"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"        req.container_name +\u003d MULTIUPLOAD_SUFFIX"},{"line_number":213,"context_line":"        req.object_name \u003d \u0027%s/%s/%d\u0027 % (req.object_name, upload_id,"}],"source_content_type":"text/x-python","patch_set":1,"id":"f3d13428_b8fa57e7","line":210,"range":{"start_line":210,"start_character":18,"end_line":210,"end_character":30},"updated":"2026-11-05 11:41:02.000000000","message":"the error message defined by NoSuchUpload is wrong, should be:\n```\nThe specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.\n```","commit_id":"51a0ce607a06515371d2122e69228627610cd57e"}],"test/unit/common/middleware/s3api/test_multi_upload.py":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"3feb50903128e6ec9d799e6b43692d21b2bc0ed6","unresolved":true,"context_lines":[{"line_number":806,"context_line":"        status, headers, body \u003d self._test_copy_for_s3acl(\u0027test:tester\u0027)"},{"line_number":807,"context_line":"        self.assertEqual(status.split()[0], \u0027404\u0027)"},{"line_number":808,"context_line":"        self.assertEqual(self._get_error_code(body), \u0027NoSuchUpload\u0027)"},{"line_number":809,"context_line":"        self.assertEqual(expected_calls, self.swift.calls[-2:])"},{"line_number":810,"context_line":""},{"line_number":811,"context_line":"    def test_object_list_parts_error(self):"},{"line_number":812,"context_line":"        req \u003d Request.blank(\u0027/bucket/object?uploadId\u003dinvalid\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3d677a29_9abaa23c","line":809,"updated":"2026-11-05 11:41:02.000000000","message":"we should add a compat test. This diff will apply once we merge the patch I have to fix the UploadId message:\n s3api: Fix NoSuchUpload error message  https://review.opendev.org/c/openstack/swift/+/1014299\n\n```\ndiff --git a/test/s3api/test_mpu.py b/test/s3api/test_mpu.py\nindex 1d1864800..e9f4cadd9 100644\n--- a/test/s3api/test_mpu.py\n+++ b/test/s3api/test_mpu.py\n@@ -790,6 +790,19 @@ class TestMultiPartUpload(BaseMultiPartUploadTestCase):\n             \u0027ResponseMetadata\u0027][\u0027HTTPStatusCode\u0027])\n         self.assertEqual([], list_mpu_resp.get(\u0027Uploads\u0027, []))\n \n+    def test_create_upload_complete_upload(self):\n+        key_name \u003d self.create_name(\u0027key\u0027)\n+        upload_id \u003d self.create_mpu(key_name)\n+        parts \u003d self.upload_parts(key_name, upload_id, 2)\n+        self.complete_mpu(key_name, upload_id, parts)\n+        # repeat part upload gets 400\n+        body \u003d \u0027x\u0027 * 5 * (2 ** 20)\n+        with self.assertRaises(ClientError) as cm:\n+            self.client.upload_part(\n+                Body\u003dbody, Bucket\u003dself.bucket_name, Key\u003dkey_name,\n+                PartNumber\u003d1, UploadId\u003dupload_id)\n+        self.assert_no_such_upload_id(cm.exception)\n+\n     def test_create_upload_complete_complete_same_manifest(self):\n         key_name \u003d self.create_name(\u0027key\u0027)\n         upload_id \u003d self.create_mpu(key_name)\n\n```","commit_id":"51a0ce607a06515371d2122e69228627610cd57e"}]}
