Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4357

After calling replaceSelf, further operations that should be applied on the new INode may be wrongly applied to the original INode

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Snapshot (HDFS-2802)
    • namenode
    • None
    • Reviewed

    Description

      An example is in INode#setModificationTime, if the INode is an instance of INodeDirectory, after replacing itself with a new INodeDirectoryWithSnapshot, the change of the modification time should happen in the new INodeDirectoryWithSnapshot instead of the original INodeDirectory.

      Attachments

        1. HDFS-4357.001.patch
          7 kB
          Jing Zhao
        2. HDFS-4357.002.patch
          13 kB
          Jing Zhao
        3. HDFS-4357.003.patch
          13 kB
          Jing Zhao

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: