You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "rich7420 (via GitHub)" <gi...@apache.org> on 2026/09/29 01:56:12 UTC

[PR] HDDS-16635. Remove redundant InfoBucket RPC from S3 GetBucketLifecycleConfiguration [ozone]

rich7420 opened a new pull request, #11355:
URL: https://github.com/apache/ozone/pull/11355

   ## What changes were proposed in this pull request?
   
   Call `ClientProtocol#getLifecycleConfiguration` directly in `BucketLifecycleHandler`. The `OzoneBucket` wrapper only delegates using the volume and bucket names, so fetching it adds an unnecessary `InfoBucket` RPC. The existing expected bucket owner check is retained.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-16635
   
   ## How was this patch tested?
   
   - Added tests for bucket lookup counts, expected owner checks and error mapping. Without the production change, 7 of the 13 GET lifecycle tests fail on extra bucket lookups. With the change, all 54 related lifecycle and permission tests pass.
   - [Fork CI passed](https://github.com/rich7420/ozone/actions/runs/36471373812).
   - [10×10 flaky-test-check passed](https://github.com/rich7420/ozone/actions/runs/36471522326) for `TestS3LifecycleConfigurationGet` on Java 21.
   
   Generated-by: Codex (GPT-6)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-16635. Remove redundant InfoBucket RPC from S3 GetBucketLifecycleConfiguration [ozone]

Posted by "rich7420 (via GitHub)" <gi...@apache.org>.
rich7420 commented on PR #11355:
URL: https://github.com/apache/ozone/pull/11355#issuecomment-5905874419

   thanks @yandrey321 and @chungen0126 for the review!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-16635. Remove redundant InfoBucket RPC from S3 GetBucketLifecycleConfiguration [ozone]

Posted by "chungen0126 (via GitHub)" <gi...@apache.org>.
chungen0126 merged PR #11355:
URL: https://github.com/apache/ozone/pull/11355


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org