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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to