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:
Ashutosh Gupta 2022-05-08 00:05:34 +01:00 committed by Akira Ajisaka
parent 62c6a08ffd
commit c879230547
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 2 additions and 2 deletions

View File

@ -246,8 +246,8 @@ private int getPriorityContiguous(int curReplicas, int readOnlyReplicas,
// highest priority
return QUEUE_HIGHEST_PRIORITY;
} else if ((curReplicas * 3) < expectedReplicas) {
//can only afford one replica loss
//this is considered very insufficiently redundant blocks.
//there is less than a third as many blocks as requested;
//this is considered very under-replicated.
return QUEUE_VERY_LOW_REDUNDANCY;
} else {
//add to the normal queue for insufficiently redundant blocks