[
https://issues.apache.org/jira/browse/HBASE-22809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901870#comment-16901870
]
Duo Zhang commented on HBASE-22809:
-----------------------------------
If there are live region servers we will hang on updating meta. You can see the
code in CreateTableProcedure, there is no rollback if we pass the first state
CREATE_TABLE_PRE_OPERATION.
Here I plan to make the logic like this:
1. Do not check for system tables
2. Do not check for default rsgroup.
3. When creating table & namespace, check if the specific rs group exists, and
then check if the rs group has servers in it(do not need to be online)
4. When modifying table & namespace, check if the rs group config is changed,
if so, check if the configured rs group exists, and also has servers in it(do
not need to be online).
> Allow creating table in group when rs group contains no live servers
> --------------------------------------------------------------------
>
> Key: HBASE-22809
> URL: https://issues.apache.org/jira/browse/HBASE-22809
> Project: HBase
> Issue Type: Sub-task
> Reporter: Duo Zhang
> Priority: Major
>
> This is for API consistency. In general, a rs group could have no live
> servers if all the region servers are dead, and then the regions in side this
> group can not online.
> So it is a bit strange that we do not allow new regions here since they are
> just the same with the old regions...
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)