Duo Zhang created HBASE-21330:
---------------------------------

             Summary: 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
            Reporter: Duo Zhang


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)

Reply via email to