HBASE-22045 Mutable range histogram reports incorrect outliers
This commit is contained in:
parent
b3e3085bca
commit
701c29b30b
|
@ -80,7 +80,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