[
https://issues.apache.org/jira/browse/HDDS-9114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-9114.
------------------------------------
Fix Version/s: 1.4.0
Resolution: Implemented
> 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
> Assignee: Vyacheslav Tutrinov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> 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}
> Computed ETag should be stored as a key metadata
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]