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

   ## What changes were proposed in this pull request?
   Make client priority read from `IN_SERVICE` status Datanode.
   
   When Ozone client read Block form Datanode, the SCM will return all the 
Datanodes where the replicas are located, including the nodes in the 
`IN_MAINTENANCE`, etc state, and the order may be random, so if the client 
tries to access the `IN_MAINTENANCE` state node first.
   Sometimes, we set a Datanode to `IN_MAINTENANCE`, this may be due to some 
faults of the machine or wanting to restart a Datanode, in this scenario, that 
the Client does not read data form these `IN_MAINTENANCE` datanode is a good 
strategy.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-10593
   
   
   ## How was this patch tested?
   Unit Test.
   


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