Wellington Chevreuil created HBASE-29249:
--------------------------------------------

             Summary: Allow for BlockCache implementations to define dynamic 
properties
                 Key: HBASE-29249
                 URL: https://issues.apache.org/jira/browse/HBASE-29249
             Project: HBase
          Issue Type: Improvement
            Reporter: Wellington Chevreuil
            Assignee: Wellington Chevreuil


We have some customers use case finding useful to have some of the BucketCache 
configurations dynamically set, such as the accept factor or the queue addition 
wait time. 

HBASE-28517 has already made some other cache related properties dynamically 
configurable, and CacheConfig already implements the 
ConfigurationObserver and registers itself for config changes notifications. 
Since CacheConfig holds a reference for the BlockCache implementation, we could 
just allow for BlockCache implementation to define their own dynamic 
configuration logic by define a refreshConfig method in the BlockCache 
interface that would get called from CacheConfig.onConfigurationChange().
 
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to