hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-4806) For an INodeDirectoryWithSnapshot, use INode#isInLatestSnapshot() to check if the added/removed child should be recorded in snapshot diff
Date Wed, 08 May 2013 01:20:14 GMT

     [ 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

Mime
View raw message