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