[
https://issues.apache.org/jira/browse/HBASE-19529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16303991#comment-16303991
]
Appy commented on HBASE-19529:
------------------------------
Noting things as I find:
1. TruncateTableProcedure should set the state to CLOSED when adding new table
row to meta.
More generally, CreateTableProcedure#addTableToMeta (it's static function and
used clone/create/truncate table procs) should not just add new regions to the
meta, but also the corresponding table row with state DISABLED.
> Handle null states in AM
> ------------------------
>
> Key: HBASE-19529
> URL: https://issues.apache.org/jira/browse/HBASE-19529
> Project: HBase
> Issue Type: Bug
> Reporter: Appy
> Priority: Critical
> Fix For: 2.0.0-beta-2
>
>
> From debugging in HBASE-19457, found some questions that need concrete
> answers:
> 1) What does a region state of null in meta means? Currently AM treats it as
> OFFLINE
> 2) What does a table state of null in meta means? Currently TSM treats it as
> ENABLED.
> More importantly, we need to fix holes in AM so that our state machine is
> well defined and doesn't end up in these uncertainties.
> Figuring out answers to above questions will help in that direction.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)