[
https://issues.apache.org/jira/browse/HDDS-13270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika resolved HDDS-13270.
--------------------------------
Fix Version/s: 2.1.0
Resolution: Implemented
> Reduce getBucket API invocations in S3 bucket owner verification
> ----------------------------------------------------------------
>
> Key: HDDS-13270
> URL: https://issues.apache.org/jira/browse/HDDS-13270
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: s3gateway
> Reporter: Hsu Han Wen
> Assignee: Hsu Han Wen
> Priority: Major
> Fix For: 2.1.0
>
>
> As part of HDDS-10775, bucket owner verification was added to support
> S3-compatible behavior using the {{x-amz-expected-bucket-owner}} and
> {{x-amz-source-expected-bucket-owner}} headers.
> To perform the verification, a {{getBucket}} call is made to obtain the
> bucket owner's information. However, this results in an additional OM RPC
> call even for normal requests that do not include these headers. This may
> introduce unnecessary latency, especially for high-throughput S3 workloads.
> This Jira aims to optimize the behavior by avoiding {{getBucket}} calls
> unless one of the expected bucket owner headers is explicitly present. This
> would slightly increase the logic complexity but help reduce RTT and improve
> performance for general requests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]