Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7906

BlockReport of a RUR can have a FINALIZED original replica from Truncate

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      Description

      HDFS-7886 revealed that there is a new replica state change as part of Truncate.

      It is now possible that a FINALIZED replica become a RUR replica with an original replica pointing back to the FINALIZED replica.

      As a result, it is possible to hit an assert in BlockLIstAsLongs.setBlock() whereby you are trying to add a FINALIZED replica to the ucList because a RUR only had an under-construction original replica prior to Truncate.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zero45 Plamen Jeliazkov
                Reporter:
                zero45 Plamen Jeliazkov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: