Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11109

Fail MPU earlier for too small part

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • s3gateway
    • None

    Description

      Ozone requires S3 multipart upload parts to be at least 5MB, with the exception of the last part. This requirement is enforced only while processing CompleteMultipartUpload request, because UploadPart request has no information about being the last part.

      This may be improved: when receiving any but the very first part, one of the parts can verified (either the previous one, or the current one, depending on upload order and considering part replacement).

      With normal upload order: receiving part N, we can verify part N-1 is acceptable.

      Potential downsides:

      1. Use case that would no longer work: client uploads multiple undersized parts, but CompleteMultipartUpload lists only one of them, and at the last position; the rest are orphaned.
      2. May not be fully compatible with AWS.

      https://github.com/apache/ozone/discussions/6869

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: