Huang Kuan Hao created HDDS-16635:
-------------------------------------
Summary: Remove redundant InfoBucket RPC from S3
GetBucketLifecycleConfiguration
Key: HDDS-16635
URL: https://issues.apache.org/jira/browse/HDDS-16635
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Huang Kuan Hao
Assignee: Huang Kuan Hao
BucketLifecycleHandler fetches an OzoneBucket before reading the lifecycle
configuration. OzoneBucket#getLifecycleConfiguration only delegates to
ClientProtocol using the volume and bucket names, so this adds an unnecessary
InfoBucket RPC. Call ClientProtocol#getLifecycleConfiguration directly, while
retaining the existing expected bucket owner check.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]