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

Provide ETag in a response header on file uploading through s3g

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.4.0
    • S3

    Description

      On uploading a file through s3g an ETag header should be provided:

      • in the case of a single file/part upload it represents MD5 of the file content
      • if the file will be uploaded using a multipart upload then the ETag of the object is computed as MD5 of all individual part checksums:
        //	 e1 = MD5(part-1)
        //	 e2 = MD5(part-2)
        //	...
        //	 eN = MD5(part-N)
        
        //	ETag = MD5(e1 || e2 || e3 ... || eN) || -N
        //	For example: ceb8853ddc5086cc4ab9e149f8f09c88-5
        

      Computed ETag should be stored as a key metadata

      Attachments

        Issue Links

          Activity

            People

              vtutrinov Vyacheslav Tutrinov
              vtutrinov Vyacheslav Tutrinov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: