[
https://issues.apache.org/jira/browse/HBASE-29168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil updated HBASE-29168:
-----------------------------------------
Fix Version/s: 2.6.3
> Add configurable throttling of region moves in CacheAwareLoadBalancer.
> ----------------------------------------------------------------------
>
> Key: HBASE-29168
> URL: https://issues.apache.org/jira/browse/HBASE-29168
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 3.0.0-beta-1, 4.0.0-alpha-1, 2.7.0
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0, 4.0.0-alpha-1, 2.7.0, 2.6.3
>
>
> On use cases where cache hits are critical, such as when using cloud storage,
> it might be preferable to slow down the execution of region moves from a
> balancer plan, if the target RegionServer has low cache ratio for the given
> region.
> This implements a region move throttling logic in the CacheAwareLoadBalancer,
> where if the cache ratio for the region in target RegionServer from the
> region plan is below a configurable threshold, it sleeps the moving thread
> for a configurable time in milliseconds.
> This also overrides balanceCluster method in CacheAwareLoadBalancer, so that
> it sorts the generated region plan by descending order of cache ratio in the
> target server, so that regions with cache ratio above the configured
> threshold can be move first without any throttling.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)