VarshaRaviCV opened a new pull request, #7133: URL: https://github.com/apache/ozone/pull/7133
## What changes were proposed in this pull request? HDDS-11381. Adding logging for sortByDistanceCost in NetworkTopologyImpl to print sorted datanode list Please describe your PR in detail: Context: The sortDatanodes method in the KeyManagerImpl class used to include logging to print the sorted list of datanodes for topology-aware reads. However, as part of the changes introduced in [HDDS-9343](https://issues.apache.org/jira/browse/HDDS-9343), which moved the sortDatanodes logic to the OM (Ozone Manager), this logging was removed. Action: To reinstate this functionality, add logging to the sortByDistanceCost method—called from the KeyManagerImpl class—to print the sorted list of datanodes. This will help maintain visibility into the datanode sorting process in the new implementation. Examples of well-written pull requests: * [#3980](https://github.com/apache/ozone/pull/3980) * [#5265](https://github.com/apache/ozone/pull/5265) * [#4701](https://github.com/apache/ozone/pull/4701) * [#5283](https://github.com/apache/ozone/pull/5283) * [#5300](https://github.com/apache/ozone/pull/5300) ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-11381 ## How was this patch tested? Locally in docker image -- 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]
