[ https://issues.apache.org/jira/browse/HDFS-7831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-7831: ---------------------------- Summary: Fix the starting index and end condition of the loop in FileDiffList.findEarlierSnapshotBlocks() (was: Fix the starting index of the loop in FileDiffList.findEarlierSnapshotBlocks().) > Fix the starting index and end condition of the loop in > FileDiffList.findEarlierSnapshotBlocks() > ------------------------------------------------------------------------------------------------ > > Key: HDFS-7831 > URL: https://issues.apache.org/jira/browse/HDFS-7831 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.7.0 > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Attachments: HDFS-7831-01.patch > > > Currently the loop in {{FileDiffList.findEarlierSnapshotBlocks()}} starts > from {{insertPoint + 1}}. It should start from {{insertPoint - 1}}. As noted > in [Jing's > comment|https://issues.apache.org/jira/browse/HDFS-7056?focusedCommentId=14333864&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14333864] -- This message was sent by Atlassian JIRA (v6.3.4#6332)