Skip to content

Commit 61c5aa6

Browse files
committed
HDFS-16566.002.patch
1 parent 322f555 commit 61c5aa6

File tree

1 file changed

+2
-0
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement

1 file changed

+2
-0
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2558,6 +2558,8 @@ DatanodeDescriptor[] chooseSourceDatanodes(BlockInfo block,
25582558
if (isStriped && (state == StoredReplicaState.LIVE
25592559
|| state == StoredReplicaState.DECOMMISSIONING)) {
25602560
liveBusyBlockIndices.add(blockIndex);
2561+
//HDFS-16566 ExcludeReconstructed won't be reconstructed
2562+
excludeReconstructed.add(blockIndex);
25612563
}
25622564
continue;
25632565
}

0 commit comments

Comments
 (0)