[
https://issues.apache.org/jira/browse/HBASE-21330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-21330:
------------------------------
Fix Version/s: 2.2.0
3.0.0
> ReopenTableRegionsProcedure will enter an infinite loop if we schedule a TRSP
> at the same time
> ----------------------------------------------------------------------------------------------
>
> Key: HBASE-21330
> URL: https://issues.apache.org/jira/browse/HBASE-21330
> Project: HBase
> Issue Type: Sub-task
> Components: amv2
> Reporter: Duo Zhang
> Priority: Major
> Fix For: 3.0.0, 2.2.0
>
>
> The problem is that, if there are regions which already have TRSPs with them,
> we will give up and just to REOPEN_TABLE_REGIONS_CONFIRM_REOPENED directly.
> And in REOPEN_TABLE_REGIONS_CONFIRM_REOPENED, if there are still regions need
> to be reopened, we will just back to REOPEN_TABLE_REGIONS_REOPEN_REGIONS
> directly. And since ReopenTableRegionsProcedure holds the exclusive lock on
> table, the TRSP will not have chance to execute, and the result is that, the
> ReopenTableRegionsProcedure just keep looping in the two states.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)