HBASE-22045 Mutable range histogram reports incorrect outliers
This commit is contained in:
parent
908dea8e41
commit
8fffaa7778
|
@ -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