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

Ensure inodes in active filesystem are not deleted during snapshot delete

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.2, 2.10.1, 3.3.1, 3.4.0
    • Component/s: snapshots
    • Labels:
      None
    • Target Version/s:

      Description

      After HDFS-13101, it was observed in one of our customer deployments that delete snapshot ends up cleaning up inodes from active fs which can be referred from only one snapshot as the isLastReference() check for the parent dir introduced in HDFS-13101 may return true in certain cases. The aim of this Jira to add a check to ensure if the Inodes are being referred in the active fs , should not get deleted while deletion of snapshot happens.

        Attachments

        1. HDFS-15313.000.patch
          13 kB
          Shashikant Banerjee
        2. HDFS-15313.001.patch
          13 kB
          Shashikant Banerjee
        3. HDFS-15313.branch-2.10.001.patch
          13 kB
          Shashikant Banerjee
        4. HDFS-15313.branch-2.10.patch
          13 kB
          Shashikant Banerjee
        5. HDFS-15313.branch-2.8.patch
          13 kB
          Shashikant Banerjee
        6. HDFS-15313-branch-3.1.001.patch
          12 kB
          Stephen O'Donnell

        Issue Links

          Activity

            People

            • Assignee:
              shashikant Shashikant Banerjee
              Reporter:
              shashikant Shashikant Banerjee

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment