Xiao Liu created HBASE-30520:
--------------------------------
Summary: HStore cache configuration reload ignores table and
column family configuration overrides
Key: HBASE-30520
URL: https://issues.apache.org/jira/browse/HBASE-30520
Project: HBase
Issue Type: Bug
Components: BlockCache
Reporter: Xiao Liu
Assignee: Xiao Liu
Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8, 2.5.17
{\{HStore}} initializes \{{CacheConfig}} with the merged global, table and
column family configuration. However, during \{{update_config}},
\{{CacheConfig}} receives only the global configuration, losing table and
column family overrides.
For example, a column family \{{CONFIGURATION}} override of
\{{hbase.rs.cacheblocksonwrite=true}} is lost after \{{update_config}} when the
global value is \{{false}}.
Refresh \{{CacheConfig}} through \{{HStore}} using the merged store
configuration, while keeping the shared \{{BlockCache}} subscribed to global
configuration updates.
This complements HBASE-30504, which preserves column family cache attributes.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)