You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Vyacheslav Tutrinov (Jira)" <ji...@apache.org> on 2023/08/03 07:32:00 UTC

[jira] [Updated] (HDDS-9114) Provide ETag in a response header on file uploading through s3g

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

Vyacheslav Tutrinov updated HDDS-9114:
--------------------------------------
    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:
{code}
//	 e1 = MD5(part-1)
//	 e2 = MD5(part-2)
//	...
//	 eN = MD5(part-N)

//	ETag = MD5(e1 || e2 || e3 ... || eN) || -N
//	For example: ceb8853ddc5086cc4ab9e149f8f09c88-5
{code}

> Provide ETag in a response header on file uploading through s3g
> ---------------------------------------------------------------
>
>                 Key: HDDS-9114
>                 URL: https://issues.apache.org/jira/browse/HDDS-9114
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: S3
>            Reporter: Vyacheslav Tutrinov
>            Priority: Major
>
> 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:
> {code}
> //	 e1 = MD5(part-1)
> //	 e2 = MD5(part-2)
> //	...
> //	 eN = MD5(part-N)
> //	ETag = MD5(e1 || e2 || e3 ... || eN) || -N
> //	For example: ceb8853ddc5086cc4ab9e149f8f09c88-5
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org