Chung-En Lee created HDDS-16696:
-----------------------------------
Summary: S3G: Avoid calling getS3Volume in GET_BUCKET (ListObjects)
Key: HDDS-16696
URL: https://issues.apache.org/jira/browse/HDDS-16696
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Chung-En Lee
### Background & Problem
In `BucketEndpoint#get`, S3G handles S3 bucket listing requests. Before asking
OM to `listKeys` or `listStatus`, S3G currently call a `getS3VolumeContext` RPC
to resolve the volume associated with the S3 bucket.
### Proposed Solution
1. Update `ListKeys` / `ListStatus` protocol on OM to accept
`assumeS3Context=true` (or resolve S3 bucket mappings natively).
2. Refactor `BucketEndpoint` to invoke OM listing directly without executing
the prior `getS3VolumeContext` RPC.
### Expected Impact
- Eliminates 1 RTT from bucket listing operations.
- Reduces S3G thread holding time during heavy listing workloads.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]