You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Huaxiang Sun (Jira)" <ji...@apache.org> on 2020/06/26 17:22:00 UTC
[jira] [Created] (HBASE-24643) Replace
Cluster#primariesOfRegionsPerServer from int array to treemap
Huaxiang Sun created HBASE-24643:
------------------------------------
Summary: Replace Cluster#primariesOfRegionsPerServer from int array to treemap
Key: HBASE-24643
URL: https://issues.apache.org/jira/browse/HBASE-24643
Project: HBase
Issue Type: Improvement
Components: Balancer
Affects Versions: 2.3.0
Reporter: Huaxiang Sun
Assignee: Huaxiang Sun
Currently, primariesOfRegionsPerServer is an int array, moveRegion does heavy work by searching the array (linearly) and insert/remove an element requires allocating/copying the whole array.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)