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

ramkrishna.s.vasudevan commented on HBASE-6776:
-----------------------------------------------

@Jimmy
If i read the patch correctly we just add all the regions into the regiononline 
map.
Now if i have 4 regions for a table.
1 is assigned, 2 in the process of assigning and 1 is yet to be assigned so the 
table is in ENABLING.  Now if all the regions are added to online map then how 
will EnableTableHandler know that he has to assign the ones that are not 
assigned?
Actually HBASe-6317 tries to solve the problem that you mentioned - double 
assignment.
Pls correct me if am wrong Jimmy. May be am missing something in trunk after 
the refactorings?


                
> 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