[
https://issues.apache.org/jira/browse/HDFS-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645127#comment-13645127
]
Tsz Wo (Nicholas), SZE commented on HDFS-4760:
----------------------------------------------
Should INodeReference.setReferredINode(..) also update the map?
> Update inodeMap after node replacement
> --------------------------------------
>
> Key: HDFS-4760
> URL: https://issues.apache.org/jira/browse/HDFS-4760
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Attachments: HDFS-4760.001.patch, HDFS-4760.002.patch,
> HDFS-4760.003.patch, HDFS-4760.004.patch
>
>
> Similar with HDFS-4757, we need to update the inodeMap after node
> replacement. Because a lot of node replacement happens in the snapshot branch
> (e.g., INodeDirectory => INodeDirectoryWithSnapshot, INodeDirectory <=>
> INodeDirectorySnapshottable, INodeFile => INodeFileWithSnapshot ...), this
> becomes a non-trivial issue.
--
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