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:
parent
165e2ed915
commit
4c86428312
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue