Make sure complete-multipart-upload works correctly #192

Closed
opened 2025-12-28 17:36:32 +00:00 by sami · 0 comments
Owner

Originally created by @KirillovDenis on GitHub (Apr 12, 2022).

Originally assigned to: @masterSplinter01 on GitHub.

It seems after successful completing multipart upload some system information is still preserved

denis@denis-nspcc:~$ aws s3api complete-multipart-upload --endpoint http://localhost:8084 --bucket new-bucket --key multipart-key2  --upload-id 5b4edd92-9aa3-4eff-8500-dd89fda59bbc --multipart-upload file://parts.json
{
    "Bucket": "new-bucket",
    "Key": "multipart-key2",
    "ETag": "5412930ac75fd19871dfe9084435e5dabb3873c7108c0c9d3273a35f20efbcac"
}

denis@denis-nspcc:~$ aws s3api list-parts --endpoint http://localhost:8084 --bucket new-bucket --key multipart-key2  --upload-id 5b4edd92-9aa3-4eff-8500-dd89fda59bbc
{
    "Initiator": {
        "ID": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM",
        "DisplayName": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM"
    },
    "Owner": {
        "DisplayName": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM",
        "ID": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM"
    },
    "StorageClass": null
}

denis@denis-nspcc:~$ aws s3api list-multipart-uploads --endpoint http://localhost:8084 --bucket new-bucket 
{
    "Uploads": [
        {
            "UploadId": "5b4edd92-9aa3-4eff-8500-dd89fda59bbc",
            "Key": "multipart-key2",
            "Initiated": "2022-04-11T14:40:16+00:00",
            "Owner": {
                "DisplayName": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM",
                "ID": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM"
            },
            "Initiator": {
                "ID": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM",
                "DisplayName": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM"
            }
        }
    ]
}
Originally created by @KirillovDenis on GitHub (Apr 12, 2022). Originally assigned to: @masterSplinter01 on GitHub. It seems after successful completing multipart upload some system information is still preserved ``` denis@denis-nspcc:~$ aws s3api complete-multipart-upload --endpoint http://localhost:8084 --bucket new-bucket --key multipart-key2 --upload-id 5b4edd92-9aa3-4eff-8500-dd89fda59bbc --multipart-upload file://parts.json { "Bucket": "new-bucket", "Key": "multipart-key2", "ETag": "5412930ac75fd19871dfe9084435e5dabb3873c7108c0c9d3273a35f20efbcac" } denis@denis-nspcc:~$ aws s3api list-parts --endpoint http://localhost:8084 --bucket new-bucket --key multipart-key2 --upload-id 5b4edd92-9aa3-4eff-8500-dd89fda59bbc { "Initiator": { "ID": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM", "DisplayName": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM" }, "Owner": { "DisplayName": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM", "ID": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM" }, "StorageClass": null } denis@denis-nspcc:~$ aws s3api list-multipart-uploads --endpoint http://localhost:8084 --bucket new-bucket { "Uploads": [ { "UploadId": "5b4edd92-9aa3-4eff-8500-dd89fda59bbc", "Key": "multipart-key2", "Initiated": "2022-04-11T14:40:16+00:00", "Owner": { "DisplayName": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM", "ID": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM" }, "Initiator": { "ID": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM", "DisplayName": "NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM" } } ] } ```
sami 2025-12-28 17:36:32 +00:00
  • closed this issue
  • added the
    question
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-s3-gw#192
No description provided.