tanvipenumudy opened a new pull request, #5391:
URL: https://github.com/apache/ozone/pull/5391

   ## What changes were proposed in this pull request?
   
   Following HDDS-8300, the key metadata API within OM sorts datanodes allowing 
clients to optimize data I/O on the basis of locality, yet this currently 
involves OM making additional calls to SCM for sorting datanodes accounting for 
over 80% of getKeyInfo latency, reducing peak pure read ops/sec.
   
   HDDS-9343 outlines how sorting can be performed within OM itself eliminating 
the need to rely on SCM for every read. In this PR, as we transition the 
sortDatanodes logic to OM, the following steps are executed:
   
   1. Introduce a new SCM API for serving the SCM network topology .xml schema 
file - Configuration key: ozone.scm.network.topology.schema.file, value: 
network-topology-default.xml to OM.
   2. Implement caching and periodic refreshing of this layout information 
obtained from SCM at regular intervals.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9389
   
   ## How was this patch tested?
   
   Added new tests.
   


-- 
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]

Reply via email to