Details
-
Task
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
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
- links to