Andrew Kyle Purtell created HBASE-25836:
-------------------------------------------

             Summary: RegionStates#getAssignmentsForBalancer should only care 
about OPEN or OPENING regions
                 Key: HBASE-25836
                 URL: https://issues.apache.org/jira/browse/HBASE-25836
             Project: HBase
          Issue Type: Sub-task
            Reporter: Andrew Kyle Purtell
            Assignee: Andrew Kyle Purtell
             Fix For: 3.0.0-alpha-1, 2.5.0, 2.4.3


RegionStates#getAssignmentsForBalancer is used by the HMaster to collect all 
regions of interest to the balancer for the next chore iteration. We check if a 
table is in disabled state to exclude regions that will not be of interest 
(because disabled regions are or will be offline) or are in a state where they 
shouldn't be mutated (like SPLITTING or MERGING). We should get to the heart of 
the matter and filter out all regions that are not in OPEN or OPENING state. 
Only regions open (or opening) on the cluster are of interest to balancing. 
Regions in all other states can be expected to not be of interest until at 
least the next balancer iteration. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to