rich7420 opened a new pull request, #11459: URL: https://github.com/apache/ozone/pull/11459
## What changes were proposed in this pull request? S3 object listings with a delimiter currently count all delimiter occurrences and then search again for the first occurrence. Use one `indexOf` result for both the presence check and common-prefix extraction. The change preserves listing results, pagination, and multi-character delimiter handling. Added coverage verifies common-prefix grouping and continuation across pages with a literal `::` delimiter. ## What is the link to the Apache JIRA? https://issues.apache.org/jira/browse/HDDS-16748 ## How was this patch tested? - `TestBucketList`: 31 tests passed locally; checkstyle and S3 Gateway PMD passed. - [Latest fork CI](https://github.com/rich7420/ozone/actions/runs/37800758561): all checks that ran passed except Kubernetes. Its Freon Ozone Client Key Generator and Key Validator failed; these native-client paths do not use the modified S3 listing code. 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]
