[ 
https://issues.apache.org/jira/browse/HBASE-30504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18138575#comment-18138575
 ] 

Hudson commented on HBASE-30504:
--------------------------------

Results for branch branch-2.5
        [build #164 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase-Integration-Test/job/branch-2.5/164/]:
 (/) *{color:green}+1 overall{color}*
----
details (if available):



(/) {color:green}+1 client integration test for 2.10.2 {color}


(/) {color:green}+1 client integration test for 3.2.4 {color}


(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.5 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.3.6 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.0 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.1 {color}
(/) {color:green}+1 client integration test for 3.4.1 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.2 {color}
(/) {color:green}+1 client integration test for 3.4.2 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.3 {color}
(/) {color:green}+1 client integration test for 3.4.3 with shaded hadoop 
client{color}


> CacheConfig#onConfigurationChange ignores column family cache settings
> ----------------------------------------------------------------------
>
>                 Key: HBASE-30504
>                 URL: https://issues.apache.org/jira/browse/HBASE-30504
>             Project: HBase
>          Issue Type: Bug
>          Components: BlockCache
>            Reporter: Xiao Liu
>            Assignee: Xiao Liu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8, 2.5.17
>
>
> {\{CacheConfig}} combines the global configuration with the column family 
> settings when it is created. A family with \{{BLOCKCACHE => false}} does not 
> cache data blocks, and the family's \{{CACHE_DATA_ON_WRITE}} and 
> \{{EVICT_BLOCKS_ON_CLOSE}} take effect even when the global settings are off.
> {\{CacheConfig#onConfigurationChange}}, added in HBASE-28517, only rereads 
> the global settings and overwrites these values. \{{HStore}} registers its 
> \{{CacheConfig}} with the \{{ConfigurationManager}}, so any 
> \{{update_config}}, even one that changes no cache setting, has these effects 
> on every open store:
> * \{{BLOCKCACHE => false}}: data blocks are cached on read again. If 
> \{{hbase.rs.cacheblocksonwrite}} is true, they are also cached on write, 
> which HBASE-29623 fixed.
> * \{{CACHE_DATA_ON_WRITE => true}}: cache on write is turned off unless 
> enabled globally.
> * \{{EVICT_BLOCKS_ON_CLOSE => true}}: evict on close is turned off unless 
> enabled globally.
> The wrong values remain until the region is reopened.
> The fix is to retain the family settings in \{{CacheConfig}} and use the same 
> logic at construction and on reload.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to