[ https://issues.apache.org/jira/browse/HDFS-15319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17097210#comment-17097210 ]
Shashikant Banerjee commented on HDFS-15319: -------------------------------------------- [~szetszwo], can you please have a look? > Fix INode#isInLatestSnapshot() API > ---------------------------------- > > Key: HDFS-15319 > URL: https://issues.apache.org/jira/browse/HDFS-15319 > Project: Hadoop HDFS > Issue Type: Bug > Components: snapshots > Reporter: Shashikant Banerjee > Assignee: Shashikant Banerjee > Priority: Major > Attachments: HDFS-15319.000.patch > > > isInLatestSnapshot() may return true in cases where an inode's ancesstors > might not be in the latest snapshot. > {code:java} > // if parent is a reference node, parent must be a renamed node. We can > // stop the check at the reference node. > if (parent != null && parent.isReference()) { > // TODO: Is it a bug to return true? > // Some ancestor nodes may not be in the latest snapshot. > return true; > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org