Wellington Chevreuil created HBASE-29168: --------------------------------------------
Summary: 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 Reporter: Wellington Chevreuil Assignee: Wellington Chevreuil 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)