Hsu Han Wen created HDDS-13270:
----------------------------------

             Summary: 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: Improvement
          Components: s3gateway
            Reporter: Hsu Han Wen


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]

Reply via email to