[
https://issues.apache.org/jira/browse/HBASE-29249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil updated HBASE-29249:
-----------------------------------------
Affects Version/s: 4.0.0-alpha-1
> 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
> Affects Versions: 4.0.0-alpha-1
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Major
> Labels: pull-request-available
>
> 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)