Rahul Agarkar created HBASE-28811:
-------------------------------------
Summary: Use region server configuration for evicting the cache
while unassigning a region
Key: HBASE-28811
URL: https://issues.apache.org/jira/browse/HBASE-28811
Project: HBase
Issue Type: Task
Components: BucketCache
Affects Versions: 3.0.0-beta-1, 2.6.0
Reporter: Rahul Agarkar
Assignee: Rahul Agarkar
While unassigning a region because of either a region movement or split/merge,
the master node sends a RPC to the region server where the region is currently
hosted. As part of this RPC, it also tells the region server whether the blocks
for the region being unassigned should be evicted from the cache. This is done
by passing a boolean parameter. The value for this parameter is found from
couple of configuration parameters seen on the master node. For example,
"hbase.rs.evictblocksonsplit" (if the region is being unassigned because of
split) orĀ "hbase.rs.evictblocksonclose" (if the region is being moved from this
region server to some other region server).
With support for dynamic configuration, these configuration parameter values
may differ between the master node and the worker nodes.
Since, caching is managed by the worker nodes, we should use the configuration
values as seen on the worker nodes rather than the values seen on the master
node.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)