Fix mistake in last commit

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-08-01 23:09:30 +00:00
parent 165e2ed915
commit 4c86428312
1 changed files with 3 additions and 1 deletions

View File

@ -503,7 +503,9 @@ public class HRegion implements HConstants {
HTableDescriptor.DEFAULT_MEMCACHE_FLUSH_SIZE); HTableDescriptor.DEFAULT_MEMCACHE_FLUSH_SIZE);
} }
this.memcacheFlushSize = flushSize; this.memcacheFlushSize = flushSize;
this.blockingMemcacheSize = this.memcacheFlushSize * flushSize;
this.blockingMemcacheSize = this.memcacheFlushSize *
conf.getInt("hbase.hregion.memcache.block.multiplier", 1);
// See if region is meant to run read-only. // See if region is meant to run read-only.
if (this.regionInfo.getTableDesc().isReadOnly()) { if (this.regionInfo.getTableDesc().isReadOnly()) {