[
https://issues.apache.org/jira/browse/HDDS-16635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chung-En Lee resolved HDDS-16635.
---------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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]