[ https://issues.apache.org/jira/browse/HBASE-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455690#comment-13455690 ]
ramkrishna.s.vasudevan commented on HBASE-6776: ----------------------------------------------- -> Adding all regions to online map? How does enabletablehandler work then? {code} List<HRegionInfo> regionsInMeta; regionsInMeta = MetaReader.getTableRegions(this.ct, tableName, true); int countOfRegionsInTable = regionsInMeta.size(); List<HRegionInfo> regions = regionsToAssign(regionsInMeta); {code} This piece of code will not allow the assignment to happen right ? -> Changing from DISABLED to DISABLING In what condition this will happen? Because state is in DISABLED for sure we can know that the disabling is completed fully? > Opened region of disabled/enabling table is not added to online region list > --------------------------------------------------------------------------- > > Key: HBASE-6776 > URL: https://issues.apache.org/jira/browse/HBASE-6776 > Project: HBase > Issue Type: Bug > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Attachments: trunk-6776.patch > > > For opened region of disabled table, it should be added to online region > list, and then closed. We should not just ignore them. > For opened region of enabling table, it should be added to online region > list, so that we don't have to assign it again. Without adding it to online > region list, it could be double assigned when assign it again later. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira