[ https://issues.apache.org/jira/browse/HDFS-15319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shashikant Banerjee updated HDFS-15319: --------------------------------------- Fix Version/s: 3.0.4 Resolution: Fixed Status: Resolved (was: Patch Available) > 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 > Fix For: 3.0.4 > > Attachments: HDFS-15319.000.patch, HDFS-15319.001.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