HDFS-15966. Empty the statistical parameters when emptying the redundant queue (#2894)

This commit is contained in:
langlaile1221 2021-09-01 19:37:34 +08:00 committed by GitHub
parent 6187f76f11
commit 24af52efab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ class LowRedundancyBlocks implements Iterable<BlockInfo> {
corruptReplicationOneBlocks.reset();
lowRedundancyECBlockGroups.reset();
corruptECBlockGroups.reset();
highestPriorityLowRedundancyReplicatedBlocks.reset();
highestPriorityLowRedundancyECBlocks.reset();
}
/** Return the total number of insufficient redundancy blocks. */