[
https://issues.apache.org/jira/browse/HDDS-10645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-10645:
-------------------------------
Description:
Copy object does not seem to support custom metadata
[https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html#API_CopyObject_RequestSyntax]
Need to support x-amz-metadata-directive: specifies whether the metadata is
copied from the source object or replaced with metadata that's provided in the
request. When copying an object, you can preserve all metadata (the default) or
specify new metadata. If this header isn’t specified, {{COPY}} is the default
behavior.
Valid Values: {{COPY | REPLACE}}
Should be tested using unit tests and acceptance tests.
was:
[https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html#API_CopyObject_RequestSyntax]
Specifies whether the metadata is copied from the source object or replaced
with metadata that's provided in the request. When copying an object, you can
preserve all metadata (the default) or specify new metadata. If this header
isn’t specified, {{COPY}} is the default behavior.
x-amz-metadata-directive
Valid Values: {{COPY | REPLACE}}
Should be tested using unit tests and acceptance tests.
> Support Custom Metadata in CopyObject
> --------------------------------------
>
> Key: HDDS-10645
> URL: https://issues.apache.org/jira/browse/HDDS-10645
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: S3, s3gateway
> Reporter: Ivan Andika
> Priority: Major
>
> Copy object does not seem to support custom metadata
> [https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html#API_CopyObject_RequestSyntax]
> Need to support x-amz-metadata-directive: specifies whether the metadata is
> copied from the source object or replaced with metadata that's provided in
> the request. When copying an object, you can preserve all metadata (the
> default) or specify new metadata. If this header isn’t specified, {{COPY}} is
> the default behavior.
> Valid Values: {{COPY | REPLACE}}
> Should be tested using unit tests and acceptance tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]