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

Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 1c1cf64616)
This commit is contained in:
litao 2021-11-12 09:23:25 +08:00 committed by Takanobu Asanuma
parent 808da62cfa
commit c4e8826194
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);
}
}