You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Yutong Xiao (Jira)" <ji...@apache.org> on 2021/12/14 05:27:00 UTC

[jira] [Resolved] (HBASE-26510) Separate the blockcache enabled key and cache data on read key

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

Yutong Xiao resolved HBASE-26510.
---------------------------------
    Resolution: Won't Do

> Separate the blockcache enabled key and cache data on read key
> --------------------------------------------------------------
>
>                 Key: HBASE-26510
>                 URL: https://issues.apache.org/jira/browse/HBASE-26510
>             Project: HBase
>          Issue Type: Task
>            Reporter: Yutong Xiao
>            Assignee: Yutong Xiao
>            Priority: Minor
>
> Currently, we use CACHE_DATA_ON_READ_KEY as BLOCKCACHE_ENABLED. This makes the usage ambiguous. 
> In my opinion, we should use a flag to control the on/off of the whole blockcache and one another flag to control if we cache data blocks on read (cache on write stay the same).
> I added a new BLOCKCACHE_ENABLED key to make the name and usage more clear. However, there are some cache logic changes, for which I changes the related UTs a little bit in my MR. 
> Hope to have a discussion about the cache logic then.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)