You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/05/08 03:20:14 UTC

[jira] [Resolved] (HDFS-4806) For an INodeDirectoryWithSnapshot, use INode#isInLatestSnapshot() to check if the added/removed child should be recorded in snapshot diff

     [ https://issues.apache.org/jira/browse/HDFS-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE resolved HDFS-4806.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: Snapshot (HDFS-2802)

I have committed this.  Thanks Jing!
                
> 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
>          Components: namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>             Fix For: Snapshot (HDFS-2802)
>
>         Attachments: HDFS-4806.001.patch
>
>
> 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