You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chenglei (Jira)" <ji...@apache.org> on 2021/07/28 03:22:00 UTC

[jira] [Updated] (HBASE-26143) The default value of 'hbase.hregion.memstore.mslab.indexchunksize.percent' should depend on MemStore type

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

chenglei updated HBASE-26143:
-----------------------------
    Description: 
The default value of {{hbase.hregion.memstore.mslab.indexchunksize.percent}} introduced by HBASE-24892 is 0.1, but when we use {{DefaultMemStore}} by default , which has no IndexChunk and {{ChunkCreator.indexChunksPool}} is useless(IndexChunk is only used by CompactingMemStore), so the {{hbase.hregion.memstore.mslab.indexchunksize.percent}} should be  0 when we using {{DefaultMemStore}} to save memory space. Only when we use {{CompactingMemStore}} and {{CellChunkMap}}, it is meaningful to set {{{hbase.hregion.memstore.mslab.indexchunksize.percent}} by user. 
Howerver, because existing bug in {{ChunkCreator.indexChunksPool}}, it is depends on HBASE-26142

> The default value of 'hbase.hregion.memstore.mslab.indexchunksize.percent' should depend on MemStore type
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-26143
>                 URL: https://issues.apache.org/jira/browse/HBASE-26143
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha-1, 2.4.0
>            Reporter: chenglei
>            Priority: Major
>
> The default value of {{hbase.hregion.memstore.mslab.indexchunksize.percent}} introduced by HBASE-24892 is 0.1, but when we use {{DefaultMemStore}} by default , which has no IndexChunk and {{ChunkCreator.indexChunksPool}} is useless(IndexChunk is only used by CompactingMemStore), so the {{hbase.hregion.memstore.mslab.indexchunksize.percent}} should be  0 when we using {{DefaultMemStore}} to save memory space. Only when we use {{CompactingMemStore}} and {{CellChunkMap}}, it is meaningful to set {{{hbase.hregion.memstore.mslab.indexchunksize.percent}} by user. 
> Howerver, because existing bug in {{ChunkCreator.indexChunksPool}}, it is depends on HBASE-26142



--
This message was sent by Atlassian Jira
(v8.3.4#803005)