HDFS-12032. Inaccurate comment on DatanodeDescriptor#getNumberOfBlocksToBeErasureCoded.
This commit is contained in:
parent
48f4a229a9
commit
06c8ca3bb3
@ -644,14 +644,14 @@ void addBlocksToBeInvalidated(List<Block> blocklist) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
Block a user