[
https://issues.apache.org/jira/browse/HDDS-17900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chung-En Lee updated HDDS-17900:
--------------------------------
Summary: S3 PutObject support x-amz-write-offset-bytes header (was: S3
PutObject ignores x-amz-write-offset-bytes and overwrites the object)
> S3 PutObject support x-amz-write-offset-bytes header
> ----------------------------------------------------
>
> Key: HDDS-17900
> URL: https://issues.apache.org/jira/browse/HDDS-17900
> Project: Apache Ozone
> Issue Type: Task
> Components: S3
> Reporter: Chung-En Lee
> Priority: Major
>
> PutObject with the {{x-amz-write-offset-bytes}} header appends the request
> body to an existing object. AWS S3 supports this only in directory buckets.
> On a general purpose bucket, AWS S3 rejects the request with 501
> NotImplemented: "A header you provided implies functionality that is not
> implemented".
> S3 Gateway does not check this header. It handles the request as a normal
> PutObject, so a client that wants to append replaces the whole object with
> only the new data.
> S3 Gateway can support appends only after Ozone supports append (HDDS-4333).
> Until then, it should reject the request with 501 NotImplemented, like AWS S3
> does for general purpose buckets.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]