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

ASF GitHub Bot updated HDDS-17902:
----------------------------------
    Labels: pull-request-available  (was: )

> Support x-amz-if-match-last-modified-time in S3 DeleteObject
> ------------------------------------------------------------
>
>                 Key: HDDS-17902
>                 URL: https://issues.apache.org/jira/browse/HDDS-17902
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: S3
>            Reporter: Chung-En Lee
>            Priority: Major
>              Labels: pull-request-available
>
> AWS S3 DeleteObject supports the {{x-amz-if-match-last-modified-time}} header 
> in directory buckets. The object is deleted only if its last modified time 
> matches the given value. Otherwise the request fails with 412 Precondition 
> Failed. DeleteObjects has the same condition as the {{LastModifiedTime}} 
> field of each object.
> S3 Gateway ignores this condition and deletes the object even when the last 
> modified time 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