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

EC: Refactor ECKeyOutputStream#write()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • EC-Branch
    • None

    Description

      Refactor the code to make it cleaner, here is a summary of the changes.

      1. Instead of treating head/middle/tail differently, use a general way to write data into buffers.
      2. No more allocateBlockIfNeeded parameters being passed around.
      3. Stream will be closed if any exception happens, and IOException will be thrown.

      Attachments

        Issue Links

          Activity

            People

              ckj Kaijie Chen
              ckj Kaijie Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: