adoroszlai opened a new pull request #1569: URL: https://github.com/apache/ozone/pull/1569
## What changes were proposed in this pull request? Currently `KeyManagerImpl#listStatus` issues duplicate `refreshPipeline` for each file. HDDS-3824 moved `refreshPipeline` outside the bucket lock. But HDDS-3658 added it back, while keeping the one outside the lock, probably as a result of merge conflict resolution. This PR removes the `refreshPipeline` call which is made while holding the bucket lock. It also converts the remaining one to batched (single call with list, instead of N times with single OM key info). https://issues.apache.org/jira/browse/HDDS-4448 ## How was this patch tested? Added unit test to verify that a single batched `refreshPipeline` call is made from `listStatus`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
