You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Rahul Agarkar (Jira)" <ji...@apache.org> on 2025/01/13 12:03:00 UTC
[jira] [Comment Edited] (HBASE-28811) Use region server configuration for evicting the cache while unassigning a region
[ https://issues.apache.org/jira/browse/HBASE-28811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912471#comment-17912471 ]
Rahul Agarkar edited comment on HBASE-28811 at 1/13/25 12:02 PM:
-----------------------------------------------------------------
[~wchevreuil] , this backport is dependent on the backport for HBASE-28596, for which, the backport PR is already open.
was (Author: ragarkar):
[~wchevreuil] , this backport is dependent on the backport for [HBASE-28596|https://issues.apache.org/jira/browse/HBASE-28596], the backport PR is already open for this.
> 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: 2.6.0, 3.0.0-beta-1, 4.0.0-alpha-1, 2.7.0
> Reporter: Rahul Agarkar
> Assignee: Rahul Agarkar
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1, 2.7.0, 3.0.0-beta-2
>
>
> 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.
> The master node should just tell the worker nodes if the region unassignment is happening because of a split or a region movement and the worker nodes should take the appropriate decision about evicting from cache depending on the configuration seen there.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)