You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2019/12/18 07:43:00 UTC
[jira] [Commented] (HBASE-23588) Cache index blocks and bloom
blocks on write if CacheCompactedBlocksOnWrite is enabled
[ https://issues.apache.org/jira/browse/HBASE-23588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998887#comment-16998887 ]
Viraj Jasani commented on HBASE-23588:
--------------------------------------
Sounds good idea, if cacheCompactedBlocksOnWrite is enabled, we can force enable cacheIndexesOnWrite & cacheBloomsOnWrite during compaction.
Btw just a question: Is it possible that cacheIndexesOnWrite & cacheBloomsOnWrite both might be enabled but cacheDataOnWrite might be disabled? If so, is it recommended for specific usecase(may be majority usecases?) or has any advantage?
> Cache index blocks and bloom blocks on write if CacheCompactedBlocksOnWrite is enabled
> --------------------------------------------------------------------------------------
>
> Key: HBASE-23588
> URL: https://issues.apache.org/jira/browse/HBASE-23588
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: ramkrishna.s.vasudevan
> Priority: Major
>
> The existing behaviour even even cacheOnWrite is enabled is that we don cache the index or bloom blocks. Now with HBASE-23066 in place we also write blocks on compaction. So it may be better to cache the index/bloom blocks also if cacheOnWrite is enabled?
> FYI [~javaman_chen]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)