[ 
https://issues.apache.org/jira/browse/HBASE-23196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chenxu reassigned HBASE-23196:
------------------------------

    Assignee: chenxu

> 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
>    Affects Versions: 2.0.0
>            Reporter: chenxu
>            Assignee: chenxu
>            Priority: Major
>
> 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)

Reply via email to