[
https://issues.apache.org/jira/browse/HBASE-25938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-25938.
-------------------------------
Fix Version/s: 2.4.4
2.3.6
2.5.0
3.0.0-alpha-1
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.3+.
Thanks [~niuyulin] for reviewig.
> The SnapshotOfRegionAssignmentFromMeta.initialize call in
> FavoredNodeLoadBalancer is just a dummy one
> -----------------------------------------------------------------------------------------------------
>
> Key: HBASE-25938
> URL: https://issues.apache.org/jira/browse/HBASE-25938
> Project: HBase
> Issue Type: Bug
> Components: Balancer, FavoredNodes
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.5.0, 2.3.6, 2.4.4
>
>
> After we introduced FavoredNodesManager, we do not need to load this
> information every time when balancing, as all the updates to favored nodes
> will go to FavoredNodesManager and it can update its in memory state
> accordingly.
> The current SnapshotOfRegionAssignmentFromMeta.initialize is just a dummy one
> in FavoredNodeLoadBalancer, as we never use it in the method.
> It will introduce a full scan on hbase:meta so let's just remove it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)