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 "Jing Zhao (JIRA)" <ji...@apache.org> on 2013/05/06 19:16:16 UTC
[jira] [Created] (HDFS-4800) Fix
INodeDirectoryWithSnapshot#cleanDeletedINode
Jing Zhao created HDFS-4800:
-------------------------------
Summary: Fix INodeDirectoryWithSnapshot#cleanDeletedINode
Key: HDFS-4800
URL: https://issues.apache.org/jira/browse/HDFS-4800
Project: Hadoop HDFS
Issue Type: Sub-task
Reporter: Jing Zhao
Assignee: Jing Zhao
Priority: Minor
HDFS-4791 updated and fixed the deletion logic for reference node, but did not update INodeDirectoryWithSnapshot#cleanDeletedINode. When deleting a snapshot s, after we merge s1 to its prior snapshot s0, cleanDeletedINode is called to destroy the files/directories that were created after taking snapshot s0. However, if a node is in the deleted list of s1 because of renaming, we should not destroy the node and its subtree, but just continue the normal snapshot deletion process.
--
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