hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4806) For an INodeDirectoryWithSnapshot, use INode#isInLatestSnapshot() to check if the added/removed child should be recorded in snapshot diff
Date Tue, 07 May 2013 22:51:15 GMT
Jing Zhao created HDFS-4806:
-------------------------------

             Summary: For an INodeDirectoryWithSnapshot, use INode#isInLatestSnapshot() to
check if the added/removed child should be recorded in snapshot diff
                 Key: HDFS-4806
                 URL: https://issues.apache.org/jira/browse/HDFS-4806
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Jing Zhao
            Assignee: Jing Zhao


Before supporting rename with snapshots, when adding/remove a child inode to/from a directory,
if the directory is already an INodeDirectoryWithSnapshot, we can directly record the change
in the corresponding snapshot diff.

After support rename with snapshots, an INodeDirectoryWithSnapshot may be a renamed node,
thus we should use INode#isInLatestSnapshot() to check if we should record the change in snapshots.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message