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.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment