Skip to content

Commit 01027e5

Browse files
authored
HDFS-16185. Fix comment in LowRedundancyBlocks.java (#4194)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
1 parent ae47846 commit 01027e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ private int getPriorityContiguous(int curReplicas, int readOnlyReplicas,
248248
// highest priority
249249
return QUEUE_HIGHEST_PRIORITY;
250250
} else if ((curReplicas * 3) < expectedReplicas) {
251-
//can only afford one replica loss
252-
//this is considered very insufficiently redundant blocks.
251+
//there is less than a third as many blocks as requested;
252+
//this is considered very under-replicated.
253253
return QUEUE_VERY_LOW_REDUNDANCY;
254254
} else {
255255
//add to the normal queue for insufficiently redundant blocks

0 commit comments

Comments
 (0)