HDFS-16185. Fix comment in LowRedundancyBlocks.java (#4194)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 01027e52a9
)
This commit is contained in:
parent
6daa369bcf
commit
4a532f77a9
|
@ -246,8 +246,8 @@ class LowRedundancyBlocks implements Iterable<BlockInfo> {
|
||||||
// highest priority
|
// highest priority
|
||||||
return QUEUE_HIGHEST_PRIORITY;
|
return QUEUE_HIGHEST_PRIORITY;
|
||||||
} else if ((curReplicas * 3) < expectedReplicas) {
|
} else if ((curReplicas * 3) < expectedReplicas) {
|
||||||
//can only afford one replica loss
|
//there is less than a third as many blocks as requested;
|
||||||
//this is considered very insufficiently redundant blocks.
|
//this is considered very under-replicated.
|
||||||
return QUEUE_VERY_LOW_REDUNDANCY;
|
return QUEUE_VERY_LOW_REDUNDANCY;
|
||||||
} else {
|
} else {
|
||||||
//add to the normal queue for insufficiently redundant blocks
|
//add to the normal queue for insufficiently redundant blocks
|
||||||
|
|
Loading…
Reference in New Issue