rich7420 opened a new pull request, #11587: URL: https://github.com/apache/ozone/pull/11587
## What changes were proposed in this pull request? When a ListObjectVersions page ends inside a common prefix, the next page can return that prefix again. Skip the prefix containing `key-marker` before counting it against `max-keys`, while retaining group deduplication in the existing listing loop. Add endpoint and SDK coverage for pagination across the prefix. ListObjects behavior is unchanged. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17028 ## How was this patch tested? - Local JDK 21: `TestBucketList` (43), `TestBucketNotImplemented` (86), and the new SDK case under both `TestS3SDK` and `TestS3SDKWithRatisStreaming` (2): 131 tests passed. - The regression reproduces duplicate prefixes without the fix. Checkstyle and affected-module PMD passed. - [Fork CI](https://github.com/rich7420/ozone/actions/runs/38662938167): passed at `6673f27e83`. - [TestBucketList 10×10](https://github.com/rich7420/ozone/actions/runs/38929195558): passed on the same commit. 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]
