Hi,

>From RegionServerMetrics.doUpdtaes():

...
      // has the extended period for long-living stats elapsed?
      if (this.extendedPeriod > 0 &&
          this.lastUpdate - this.lastExtUpdate >= this.extendedPeriod) {
        this.lastExtUpdate = this.lastUpdate;
        this.compactionTime.resetMinMaxAvg();
        this.compactionSize.resetMinMaxAvg();
        this.flushTime.resetMinMaxAvg();
        this.flushSize.resetMinMaxAvg();
        this.resetAllMinMax();
      }
...

Why do we call resetAllMinMax() as well? They are not
PersistentMetricsTimeVaryingRate related, so I am just wondering why
they are reset as well, since the next "period" interval is resetting
them anyways, no?

Lars

Reply via email to