Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3816 Erasure Coding
  3. HDDS-6010

EC: Create ECInputStream wrapper to choose between reconstruction and normal reads.

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              sodonnell Stephen O'Donnell
              sodonnell Stephen O'Donnell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: