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

EC: PartialStripe failure handling logic is writing padding bytes also to DNs

    XMLWordPrintableJSON

Details

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

    Description

      cchenaxchen was chatting with me for an issue regarding offset mismatch failure.

      While I am reviewing the code, I figured out that, in retry logic we are writing the padding bytes as well. The reason is, we used the cached bytes limit as the length. But by that time cached bytes would have been updated with padding data while writing previous parity bytes.

      I am not very sure if this is the same issue, cchenaxchen is facing, but let me fix this and we will verify with this fix it it can fix. If issue is same, I will change the reporter to cchenaxchen 

       

      I have a test to reproduce the case and I will upload it shortly.

      Attachments

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: