HBASE-22045 Mutable range histogram reports incorrect outliers
This commit is contained in:
parent
8fd1b0afe9
commit
d6623cf8f0
|
@ -81,7 +81,7 @@ public abstract class MutableRangeHistogram extends MutableHistogram implements
|
|||
priorRange = ranges[i];
|
||||
cumNum = val;
|
||||
}
|
||||
long val = histogram.getCount();
|
||||
long val = snapshot.getCount();
|
||||
if (val - cumNum > 0) {
|
||||
metricsRecordBuilder.addCounter(
|
||||
Interns.info(name + "_" + rangeType + "_" + ranges[ranges.length - 1] + "-inf", desc),
|
||||
|
|
Loading…
Reference in New Issue