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

stack updated HBASE-11364:
--------------------------

    Attachment: 11364.txt

Adds to CacheConfig a flag cacheDataInL1.  Adds override to 
BlockCache#cacheBlock that takes the setting of this flag.  Acts on this flag 
in CombinedBlockCache.  I set this flag on all system tables.  I added a test 
that this flag has an effect.  Also tried it here locally to prove it works.

I went through LruBlockCache and the doc doing fixup of IN_MEMORY and another 
pass over the block cache seciton.  When this edit goes in, will close 
HBASE-9131 because has that detail here.

> [BlockCache] Add a flag to cache data blocks in L1 if multi-tier cache
> ----------------------------------------------------------------------
>
>                 Key: HBASE-11364
>                 URL: https://issues.apache.org/jira/browse/HBASE-11364
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>         Attachments: 11364.txt
>
>
> This is a prerequisite for HBASE-11323 BucketCache on all the time.  It 
> addresses a @lars hofhansl ask that we be able to ask that for some column 
> families, even their data blocks get cached up in the LruBlockCache L1 tier 
> in a multi-tier deploy as happens when doing BucketCache (CombinedBlockCache) 
> setups.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to