Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26580

The message of StoreTooBusy is confused

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

       

      When check Store limit. We both check parallelPutToStoreThreadLimit and parallelPreparePutToStoreThreadLimit. 

      if (store.getCurrentParallelPutCount() > this.parallelPutToStoreThreadLimit
          || preparePutCount > this.parallelPreparePutToStoreThreadLimit) {
        tooBusyStore = (tooBusyStore == null ?
            store.getColumnFamilyName() :
            tooBusyStore + "," + store.getColumnFamilyName());
      } 

      But we only print Above parallelPutToStoreThreadLimit only. 

       

       

      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);
      }

      It confused me a lot time ...... 

      Just add message of parallelPreparePutToStoreThreadLimit

       

      Attachments

        Issue Links

          Activity

            People

              zhengzhuobinzzb zhuobin zheng
              zhengzhuobinzzb zhuobin zheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: