[
https://issues.apache.org/jira/browse/HBASE-24643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395023#comment-17395023
]
Clara Xiong commented on HBASE-24643:
-------------------------------------
Open https://issues.apache.org/jira/browse/HBASE-26178 to capture the larger
scope of work.
> 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
> Priority: Major
>
> 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)