Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5284 Flatten INode hierarchy
  3. HDFS-5715

Use Snapshot ID to indicate the corresponding Snapshot for a FileDiff/DirectoryDiff

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • namenode
    • None
    • Reviewed

    Description

      Currently FileDiff and DirectoryDiff both contain a snapshot object reference to indicate its associated snapshot. Instead, we can simply record the corresponding snapshot id there. This can simplify some logic and allow us to use a byte array to represent the snapshot feature (HDFS-5714).

      Attachments

        1. HDFS-5715.002.patch
          200 kB
          Jing Zhao
        2. HDFS-5715.001.patch
          193 kB
          Jing Zhao
        3. HDFS-5715.000.patch
          192 kB
          Jing Zhao

        Issue Links

          Activity

            People

              jingzhao Jing Zhao
              jingzhao Jing Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: