HDFS-16311. Metric metadataOperationRate calculation error in DataNodeVolumeMetrics (#3636)

Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
litao 2021-11-12 09:23:25 +08:00 committed by GitHub
parent 8b159d296d
commit 1c1cf64616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -284,6 +284,6 @@ public class DataNodeVolumeMetrics {
public void addFileIoError(final long latency) {
totalFileIoErrors.incr();
metadataOperationRate.add(latency);
fileIoErrorRate.add(latency);
}
}