[ 
https://issues.apache.org/jira/browse/HBASE-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455973#comment-13455973
 ] 

Jimmy Xiang commented on HBASE-6776:
------------------------------------

That's a good question.  In rebuilding the user regions, only these regions are 
added to online region map: 1. there is a server info in Meta for the region, 
and 2. the server is online.

Here is the assumption:

For the regions not assigned yet or still in assigning, the meta entry should 
not have the server info (assume no region in transition znodes, if there is,
process region in transition will correct the assigning region's state).

For tables not in ENABLING, this is our assumption too. So the question is 
whether the assumption correct, right?  I think it is correct.



                
> 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

Reply via email to