You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "zhuobin zheng (Jira)" <ji...@apache.org> on 2021/12/15 10:50:00 UTC

[jira] [Created] (HBASE-26580) The message of StoreTooBusy is confused

zhuobin zheng created HBASE-26580:
-------------------------------------

             Summary: The message of StoreTooBusy is confused
                 Key: HBASE-26580
                 URL: https://issues.apache.org/jira/browse/HBASE-26580
             Project: HBase
          Issue Type: Task
            Reporter: zhuobin zheng


 

When check Store limit. We both check parallelPutToStoreThreadLimit and parallelPreparePutToStoreThreadLimit. 
{code:java}
if (store.getCurrentParallelPutCount() > this.parallelPutToStoreThreadLimit
    || preparePutCount > this.parallelPreparePutToStoreThreadLimit) {
  tooBusyStore = (tooBusyStore == null ?
      store.getColumnFamilyName() :
      tooBusyStore + "," + store.getColumnFamilyName());
} {code}
But we only print Above parallelPutToStoreThreadLimit only. 

 

 
{code:java}
if (tooBusyStore != null) {
  String msg =
      "StoreTooBusy," + this.region.getRegionInfo().getRegionNameAsString() + ":" + tooBusyStore
          + " Above parallelPutToStoreThreadLimit(" + this.parallelPutToStoreThreadLimit + ")";
  if (LOG.isTraceEnabled()) {
    LOG.trace(msg);
  }
  throw new RegionTooBusyException(msg);
}{code}
It confused me a lot time ...... 

Just add message of parallelPreparePutToStoreThreadLimit

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)