You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2017/04/20 03:44:04 UTC
[jira] [Created] (HBASE-17943) The in-memory flush size is
different for each CompactingMemStore located in the same region
Chia-Ping Tsai created HBASE-17943:
--------------------------------------
Summary: The in-memory flush size is different for each CompactingMemStore located in the same region
Key: HBASE-17943
URL: https://issues.apache.org/jira/browse/HBASE-17943
Project: HBase
Issue Type: Bug
Components: regionserver
Affects Versions: 2.0.0
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
Fix For: 2.0.0
{noformat}
private void initInmemoryFlushSize(Configuration conf) {
long memstoreFlushSize = getRegionServices().getMemstoreFlushSize();
int numStores = getRegionServices().getNumStores();
if (numStores <= 1) {
// Family number might also be zero in some of our unit test case
numStores = 1;
}
inmemoryFlushSize = memstoreFlushSize / numStores;
{noformat}
We initialize each store in parallel, so the return value from getNumStores() may be different for each CompactingMemStore.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)