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

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

     [ https://issues.apache.org/jira/browse/HBASE-26580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zhuobin zheng updated HBASE-26580:
----------------------------------
    Priority: Trivial  (was: Minor)

> 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
>            Priority: Trivial
>
>  
> 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)