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

Duo Zhang commented on HBASE-26864:
-----------------------------------

Sending ack back may cause double assign issue. In the end of 
AssignRegionHandler, we will call HRegionServer.postOpenDeployTasks, in this 
method we will call HRegionServer.reportRegionStateTransition. And in 
HRegionServer.reportRegionStateTransition, there is a loop to make sure that we 
successfully send the ack back.

So I think we still need to find the root cause here, either we miss the call 
to postOpenDeployTasks in some code path, or there is a race at master side?

> Region Server does not send Ack back to master after receiving an 
> OpenRegionReq for already opened regions, causing OpenRegionProcedure stay 
> forever.
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-26864
>                 URL: https://issues.apache.org/jira/browse/HBASE-26864
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>    Affects Versions: 2.4.10
>            Reporter: Huaxiang Sun
>            Assignee: Huaxiang Sun
>            Priority: Major
>
> For some upgrading cases, we found that master issues RegionOpen for an 
> already open region and Region Sever simply logs 
> {code:java}
> 2022-03-17 22:16:55,595 WARN 
> org.apache.hadoop.hbase.regionserver.handler.AssignRegionHandler: Received 
> OPEN for 
> foo,b2875fcb-7bc0-4fa9-a980-e902faf7f151,1631771037620.def199cc7208615b783b285f582ddfa4.
>  which is already online {code}
> and it does not ack or nack master. This OpenRegionProceduce is stuck forever.
> In this specific case, it needs to ack master that region is open. 
>  
> For the cause of why it sent an OpenRegion request for an already open 
> region, it will be followed by another issue.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to