HBASE-3233 Fix Long Running Stats
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1034899 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5afd12fa2e
commit
443340e181
|
@ -678,6 +678,7 @@ Release 0.90.0 - Unreleased
|
|||
HBASE-3222 Regionserver region listing in UI is no longer ordered
|
||||
HBASE-3221 Race between splitting and disabling
|
||||
HBASE-3224 NPE in KeyValue$KVComparator.compare when compacting
|
||||
HBASE-3233 Fix Long Running Stats
|
||||
|
||||
|
||||
IMPROVEMENTS
|
||||
|
|
|
@ -82,6 +82,7 @@ public class PersistentMetricsTimeVaryingRate extends MetricsTimeVaryingRate {
|
|||
if (reset) {
|
||||
// use the previous avg as our starting min/max/avg
|
||||
super.inc(getPreviousIntervalAverageTime());
|
||||
reset = false;
|
||||
} else {
|
||||
// maintain the stats that pushMetric() cleared
|
||||
maintainStats();
|
||||
|
|
Loading…
Reference in New Issue