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

Chia-Chuan Ho reassigned HDDS-17901:
------------------------------------

    Assignee: Chia-Chuan Ho

> Support x-amz-if-match-size in S3 DeleteObject
> ----------------------------------------------
>
>                 Key: HDDS-17901
>                 URL: https://issues.apache.org/jira/browse/HDDS-17901
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: S3
>            Reporter: Chung-En Lee
>            Assignee: Chia-Chuan Ho
>            Priority: Major
>
> AWS S3 DeleteObject supports the {{x-amz-if-match-size}} header in directory 
> buckets. The object is deleted only if its size matches the given value. 
> Otherwise the request fails with 412 Precondition Failed. DeleteObjects has 
> the same condition as the {{Size}} field of each object.
> S3 Gateway ignores this condition and deletes the object even when the size 
> does not match. A client that uses it to avoid deleting an object someone 
> else has changed can lose data.
> S3 Gateway should support this condition.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to