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:
Zhihong Yu 2011-08-04 17:53:42 +00:00
parent a9031452f7
commit 2c772a97ab
2 changed files with 1 additions and 4 deletions

View File

@ -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)

View File

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