Stephen O'Donnell created HDDS-6010:
---------------------------------------

             Summary: Create ECInputStream wrapper to choose between 
reconstruction and normal reads.
                 Key: HDDS-6010
                 URL: https://issues.apache.org/jira/browse/HDDS-6010
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Ozone Client
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


When all data locations are available, the most efficient reader is 
ECBlockInputStream. It also uses less memory as it does not need to buffer the 
full stripe. When some data locations are missing, we need to use 
ECBlockReconstructedStripeInputStream and ECBlockReconstructedInputStream 
together. There needs to be a wrapper class which creates and uses the correct 
underlying stream depending on data location availability.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to