sodonnel commented on pull request #1610: URL: https://github.com/apache/ozone/pull/1610#issuecomment-733111102
I noticed this code before, in that we have a batch call to get the pipelines, but then for a key with multiple blocks, we must make a call per block to sort the datanodes. Am I correct in thinking this is mostly a problem with large keys which have many blocks? Do you think it would make sense to add the sort flag to the `getContainerWithPipeline` and `getContainerWithPipelineBatch` so we can have the pipeline returned sorted with a single RPC call, rather than having to make at least two calls? ---------------------------------------------------------------- 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]
