[
https://issues.apache.org/jira/browse/HDDS-13056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952417#comment-17952417
]
Ivan Andika edited comment on HDDS-13056 at 5/18/25 8:49 AM:
-------------------------------------------------------------
I just remembered that S3 SDK might internally call GetObjectAcl before some S3
API operations (I might be wrong), so we need to check whether returning 501
will cause regression (or maybe the S3 SDK has internal mechanism to ignore
501). The main point is that we want to avoid downloading key data for
GetObjectAcl call.
Alternatively, we can simply return an empty result so that there is no need to
download the object data for each GetObjectAcl call. Additionally, since we
already support key ownership we can add it such that GetObjectAcl returns the
key owner if any.
was (Author: JIRAUSER298977):
I just remembered that S3 SDK might internally call GetObjectAcl before some S3
API operations (I might be wrong), so we need to check whether returning 501
will cause regression.
Alternatively, we can simply return an empty result so that there is no need to
download the object data for each GetObjectAcl call. Additionally, since we
already support key ownership we can add it such that GetObjectAcl returns the
key owner if any.
> Return 501 Not Implemented for S3 GetObjectAcl API
> --------------------------------------------------
>
> Key: HDDS-13056
> URL: https://issues.apache.org/jira/browse/HDDS-13056
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: s3gateway
> Reporter: Chung En Lee
> Assignee: Cheng Yi Chang
> Priority: Major
>
> Refer to [https://github.com/apache/ozone/pull/8457/files#r2090296199] , we
> should return {{501 Not Implemented}} for {{GetObjectAcl}} since it's not
> supported.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]