You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2023/11/27 23:05:00 UTC

[jira] [Created] (HBASE-28221) Introduce regionserver metric for delayed flushes

Viraj Jasani created HBASE-28221:
------------------------------------

             Summary: Introduce regionserver metric for delayed flushes
                 Key: HBASE-28221
                 URL: https://issues.apache.org/jira/browse/HBASE-28221
             Project: HBase
          Issue Type: Improvement
            Reporter: Viraj Jasani
             Fix For: 2.6.0, 3.0.0-beta-1


If compaction is disabled temporarily to allow stabilizing hdfs load, we can forget re-enabling the compaction. This can result into flushes getting delayed for "hbase.hstore.blockingWaitTime" time (90s). While flushes do happen eventually after waiting for max blocking time, it is important to realize that any cluster cannot function well with compaction disabled for significant amount of time.

 

Delayed flush logs:
{code:java}
LOG.warn("{} has too many store files({}); delaying flush up to {} ms",
  region.getRegionInfo().getEncodedName(), getStoreFileCount(region),
  this.blockingWaitTime); {code}
Suggestion: Introduce regionserver metric (MetricsRegionServerSource) for the num of flushes getting delayed due to too many store files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)