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

Ensure inodes in active filesystem are not deleted during snapshot delete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.1, 3.4.0
    • 3.2.2, 2.10.1, 3.3.1, 3.4.0
    • snapshots
    • None
    • Reviewed

    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.8.patch
          13 kB
          Shashikant Banerjee
        4. HDFS-15313-branch-3.1.001.patch
          12 kB
          Stephen O'Donnell
        5. HDFS-15313.branch-2.10.patch
          13 kB
          Shashikant Banerjee
        6. HDFS-15313.branch-2.10.001.patch
          13 kB
          Shashikant Banerjee

        Issue Links

          Activity

            People

              shashikant Shashikant Banerjee
              shashikant Shashikant Banerjee
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: