chenxu created HBASE-23196: ------------------------------ Summary: The IndexChunkPool’s percentage is hard code to 0.1 Key: HBASE-23196 URL: https://issues.apache.org/jira/browse/HBASE-23196 Project: HBase Issue Type: Bug Reporter: chenxu
Code in ChunkCreator#initialize {code:java} public static ChunkCreator initialize(...) { if (instance != null) { return instance; } instance = new ChunkCreator(chunkSize, offheap, globalMemStoreSize, poolSizePercentage, initialCountPercentage, heapMemoryManager, MemStoreLABImpl.INDEX_CHUNK_PERCENTAGE_DEFAULT); return instance; } {code} When mslab is enabled, the IndexChunkPool’s percentage is hard code to INDEX_CHUNK_PERCENTAGE_DEFAULT, When we use IndexType#ARRAY_MAP other than IndexType#CHUNK_MAP, we should set IndexChunkPool’s size to 0, or there will be a waste of memory space. -- This message was sent by Atlassian Jira (v8.3.4#803005)