[ https://issues.apache.org/jira/browse/HBASE-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455915#comment-13455915 ]
Jimmy Xiang commented on HBASE-6776: ------------------------------------ regionsToAssign will remove those already online regions from the regionsInMeta, then assign the rest of regions. That's what we want. This could happen during unit test for sure, some man-made corruptions. Another scenario could be because of racing between disabling a table, and assigning the table without going through ZK. > 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