[ 
https://issues.apache.org/jira/browse/HBASE-20817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529247#comment-16529247
 ] 

Ankit Singhal commented on HBASE-20817:
---------------------------------------

For Atlas test, it is going in an infinite loop because we are not updating the 
seqId in the WAL for READ ONLY tables and our Reopen table procedure keep on 
spawning MRP.

HRegion#openHRegion

{code}
if (wal != null && getRegionServerServices() != null && !writestate.readOnly) {
      // Only write the region open event marker to WAL if we are not read-only.
      writeRegionOpenMarker(wal, openSeqNum);
    }
{code}


> Infinite loop when executing ReopenTableRegionsProcedure 
> ---------------------------------------------------------
>
>                 Key: HBASE-20817
>                 URL: https://issues.apache.org/jira/browse/HBASE-20817
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>            Reporter: Duo Zhang
>            Priority: Blocker
>             Fix For: 3.0.0, 2.1.0, 2.0.2, 2.2.0
>
>
> As discussed in HBASE-20792, it seems that a region's openSeqNum could remain 
> the same after a sucessful reopen, which causes the RTRP loop infinitely.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to