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:
Michael Stack 2010-11-13 22:46:08 +00:00
parent 5afd12fa2e
commit 443340e181
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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();