shuan1026 opened a new pull request, #11047: URL: https://github.com/apache/ozone/pull/11047
## What changes were proposed in this pull request? Swaps `getLocationList()` for `getLocationLists()`, which returns the same data as a live, uncopied `Collection<List<OmKeyLocationInfo>>` view, adding one nested `forEach` level to walk the inner lists. Same fix pattern already applied to `KeyManagerImpl.refreshPipeline` (HDDS-5384) and `ContainerEndpoint.getBlocks` (HDDS-16202). ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16204 ## How was this patch tested? The following test suite passed (8 tests): - TestContainerToKeyMapping Also ran checkstyle.sh and author.sh successfully. -- 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]
