rjgoyln opened a new pull request, #11126: URL: https://github.com/apache/ozone/pull/11126
## What changes were proposed in this pull request? A multi-object DELETE carries up to 1000 keys. The `failedDeletes` audit list was derived by removing each successfully deleted key from the request list, making the response loop quadratic — and worst in its most common case, a large request in which everything succeeds. Collecting the failures directly removes the scan without changing the response or the audit output. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16282 ## How was this patch tested? Two new unit tests pin the response and the `failedDeletes` audit parameter, for a mixed success/failure request and for a batch delete that fails outright. Both pass unchanged against the previous implementation, which is the point of them: they exist to show the rewrite is behaviour-preserving. The full `ozone-s3gateway` suite (760 tests) and checkstyle pass locally. Generated-by: Claude Code (Opus 5) -- 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]
