HBASE-4150 reverse patch
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1153954 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a9031452f7
commit
2c772a97ab
|
@ -185,8 +185,6 @@ Release 0.91.0 - Unreleased
|
|||
HBASE-4148 HFileOutputFormat doesn't fill in TIMERANGE_KEY metadata (Jonathan Hsieh)
|
||||
HBASE-4003 Cleanup Calls Conservatively On Timeout (Karthick)
|
||||
HBASE-3857 Fix TestHFileBlock.testBlockHeapSize test failure (Mikhail)
|
||||
HBASE-4150 Potentially too many connections may be opened if ThreadLocalPool
|
||||
or RoundRobinPool is used
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||
|
|
|
@ -397,8 +397,7 @@ public class PoolMap<K, V> implements Map<K, V> {
|
|||
poolSizes.put(this, poolSize = new AtomicInteger(0));
|
||||
}
|
||||
if (poolSize.intValue() >= maxSize) {
|
||||
throw new IllegalStateException("poolSize ("+poolSize.intValue()+
|
||||
") has reached " + maxSize);
|
||||
return null;
|
||||
}
|
||||
poolSize.incrementAndGet();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue