[ 
https://issues.apache.org/jira/browse/HDDS-10640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Andika updated HDDS-10640:
-------------------------------
    Description: 
Description: The count of parts this object has. This value is only returned if 
you specify {{partNumber}} in your request and the object was uploaded as a 
multipart upload.

Reference:

[https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html]

[https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html]

Possible implementation: Since ETag of MPU key suffix is the number of the 
parts in the MPU, we can use that instead. If the ETag does not contain the 
number of MPU part (e.g. legacy MPU key), don't return the response header. 

Should be tested using unit tests and acceptance tests.

  was:
Description: The count of parts this object has. This value is only returned if 
you specify {{partNumber}} in your request and the object was uploaded as a 
multipart upload.

Reference:

[https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html]

[https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html]

Possible implementation: Since ETag of MPU key suffix is the number of the 
parts in the MPU, we can use that instead. If the ETag does not contain the 
number of MPU part (e.g. legacy MPU key), don't return the response header. 


> Support x-amz-mp-parts-count for MPU key
> ----------------------------------------
>
>                 Key: HDDS-10640
>                 URL: https://issues.apache.org/jira/browse/HDDS-10640
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: S3, s3gateway
>            Reporter: Ivan Andika
>            Priority: Minor
>              Labels: GoodForNewContributors, newbie
>
> Description: The count of parts this object has. This value is only returned 
> if you specify {{partNumber}} in your request and the object was uploaded as 
> a multipart upload.
> Reference:
> [https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html]
> [https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html]
> Possible implementation: Since ETag of MPU key suffix is the number of the 
> parts in the MPU, we can use that instead. If the ETag does not contain the 
> number of MPU part (e.g. legacy MPU key), don't return the response header. 
> Should be tested using unit tests and acceptance tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to