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

   ## What changes were proposed in this pull request?
   
   
   In ECBlockInputStream, it is possible to have multiple locations for a 
single replicaIndex, if, say one replica is decommissioned but still online and 
there is also an IN_SERVICE replica.
   
   Similar for Maintenance - there can be maintenance and in_service replicas, 
or just over replicated replicas.
   
   As things stand, if a read to an index fails, it causes a failover to 
reconstruction read, but there are occassions where it would be possible to 
read from the spare replica and no need to fall back to reconstruction.
   
   This PR allows spare replicas to be tried before giving up with an error.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7917
   
   ## How was this patch tested?
   
   Added a new 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