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

LeaseManager#getINodeWithLeases() should support skipping leases of deleted files with snapshot feature

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: None
    • Labels:
      None

      Description

      LeaseManager#getINodeWithLeases() currently returns a set of INodesInPath for all the leases currently in the system. But, these leases could also belong to a file with snapshot feature, which just got deleted and not yet purged. Better if we can have version of LeaseManager#getINodeWithLeases() which returns IIP set only for non-deleted files so that some of its users like createSnapshot which wants to look at open files only don't get tripped on the deleted files.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                manojg Manoj Govindassamy
                Reporter:
                manojg Manoj Govindassamy
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: