Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1186 Ozone S3 gateway (phase III)
  3. HDDS-10640

Support x-amz-mp-parts-count for MPU key

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Issue Links

          Activity

            People

              sarvekshayr Sarveksha Yeshavantha Raju
              ivanandika Ivan Andika
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: