[
https://issues.apache.org/jira/browse/HDDS-13921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chun-Hung Tseng reassigned HDDS-13921:
--------------------------------------
Assignee: Bolin Lin (was: Chun-Hung Tseng)
> Conditional Copy (CopyObject)
> -----------------------------
>
> Key: HDDS-13921
> URL: https://issues.apache.org/jira/browse/HDDS-13921
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Manager, s3gateway
> Reporter: Chu Cheng Li
> Assignee: Bolin Lin
> Priority: Major
>
> Headers
> CopyObject supports conditions on BOTH source and destination:
> Source Object Conditions (x-amz-copy-source-if-*):
> * x-amz-copy-source-if-match: - Copy only if source ETag matches
> * x-amz-copy-source-if-none-match: - Copy only if source ETag doesn't match
> * x-amz-copy-source-if-modified-since: - Copy only if source modified after
> * x-amz-copy-source-if-unmodified-since: - Copy only if source not modified
> since
> Destination Object Conditions (AWS Release 2.37.0):
> * If-None-Match: "*" - Copy only if destination does NOT exist
> * Prevents unintended overwrites of destination object
> Error Codes
> * 412 Precondition Failed - When any condition is not met
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]