[
https://issues.apache.org/jira/browse/HDDS-17921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chung-En Lee updated HDDS-17921:
--------------------------------
Description:
In AWS S3, when a bucket has a lifecycle rule with an
AbortIncompleteMultipartUpload action and the rule matches the object key, the
CreateMultipartUpload and ListParts responses include the x-amz-abort-date and
x-amz-abort-rule-id headers. x-amz-abort-date tells the client when the
multipart upload becomes eligible for abort, and x-amz-abort-rule-id identifies
the lifecycle rule that defines the abort action.
Ozone supports the AbortIncompleteMultipartUpload action (HDDS-13474), but S3
Gateway returns neither header, so clients cannot tell when an in-progress
upload will be aborted, or by which lifecycle rule.
S3 Gateway should return both headers in these responses when such a rule
applies to the upload.
was:
In AWS S3, when a bucket has a lifecycle rule with an
AbortIncompleteMultipartUpload action and the rule matches the object key, the
CreateMultipartUpload and ListParts responses include the x-amz-abort-date
header. It tells the client when the multipart upload becomes eligible for
abort.
Ozone supports the AbortIncompleteMultipartUpload action (HDDS-13474), but S3
Gateway does not return this header, so clients cannot tell when an in-progress
upload will be aborted by the lifecycle rule.
S3 Gateway should return x-amz-abort-date in these responses when such a rule
applies to the upload.
Summary: S3 Gateway should return x-amz-abort-date and
x-amz-abort-rule-id in CreateMultipartUpload and ListParts responses (was: S3
Gateway should return x-amz-abort-date in CreateMultipartUpload and ListParts
responses)
> S3 Gateway should return x-amz-abort-date and x-amz-abort-rule-id in
> CreateMultipartUpload and ListParts responses
> ------------------------------------------------------------------------------------------------------------------
>
> Key: HDDS-17921
> URL: https://issues.apache.org/jira/browse/HDDS-17921
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: S3
> Reporter: Chung-En Lee
> Assignee: Chung-En Lee
> Priority: Major
>
> In AWS S3, when a bucket has a lifecycle rule with an
> AbortIncompleteMultipartUpload action and the rule matches the object key,
> the CreateMultipartUpload and ListParts responses include the
> x-amz-abort-date and x-amz-abort-rule-id headers. x-amz-abort-date tells the
> client when the multipart upload becomes eligible for abort, and
> x-amz-abort-rule-id identifies the lifecycle rule that defines the abort
> action.
> Ozone supports the AbortIncompleteMultipartUpload action (HDDS-13474), but S3
> Gateway returns neither header, so clients cannot tell when an in-progress
> upload will be aborted, or by which lifecycle rule.
> S3 Gateway should return both headers in these responses when such a rule
> applies to the upload.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]