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

Delete Snapshot not updating new modification time

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      on creating a snapshot , we set modifcation time for the snapshot along with that we update modification time of snapshot created directory

        snapshotRoot.updateModificationTime(now, Snapshot.CURRENT_STATE_ID);
        s.getRoot().setModificationTime(now, Snapshot.CURRENT_STATE_ID); 

      So on deleting snapshot , we should update the modification time for snapshot created directory .

        Attachments

        1. HDFS-15054.002.patch
          15 kB
          Hemanth Boyina
        2. HDFS-15054.001.patch
          15 kB
          Hemanth Boyina

          Issue Links

            Activity

              People

              • Assignee:
                hemanthboyina Hemanth Boyina
                Reporter:
                hemanthboyina Hemanth Boyina
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: