HDFS-12032. Inaccurate comment on DatanodeDescriptor#getNumberOfBlocksToBeErasureCoded.
This commit is contained in:
parent
48f4a229a9
commit
06c8ca3bb3
|
@ -644,14 +644,14 @@ public class DatanodeDescriptor extends DatanodeInfo {
|
|||
}
|
||||
|
||||
/**
|
||||
* The number of work items that are pending to be replicated
|
||||
* The number of work items that are pending to be replicated.
|
||||
*/
|
||||
int getNumberOfBlocksToBeReplicated() {
|
||||
return pendingReplicationWithoutTargets + replicateBlocks.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* The number of work items that are pending to be replicated
|
||||
* The number of work items that are pending to be reconstructed.
|
||||
*/
|
||||
@VisibleForTesting
|
||||
public int getNumberOfBlocksToBeErasureCoded() {
|
||||
|
|
Loading…
Reference in New Issue