[
https://issues.apache.org/jira/browse/HBASE-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456379#comment-13456379
]
rajeshbabu commented on HBASE-6776:
-----------------------------------
@Jimmy
If the scenario told by Ram happened after disable, with this patch assignment
wont happen for the regions yet to be assigned because .META. has server
info(server where the regions opened before disable) for the regions
bq. 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(Lets suppose
master restarted now). 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?
> 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