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

Duo Zhang commented on HBASE-21465:
-----------------------------------

Pushed the v4 patch to master and branch-2. Will keep an eye on the nightly job.

> Retry on reportRegionStateTransition can lead to unexpected errors
> ------------------------------------------------------------------
>
>                 Key: HBASE-21465
>                 URL: https://issues.apache.org/jira/browse/HBASE-21465
>             Project: HBase
>          Issue Type: Sub-task
>          Components: amv2
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: HBASE-21465-UT.patch, HBASE-21465-v1.patch, 
> HBASE-21465-v2.patch, HBASE-21465-v3.patch, HBASE-21465-v4.patch, 
> HBASE-21465.patch
>
>
> It is possible that the reportRegionStateTransition method is succeeded at 
> master side, but before returning the the region server, the rpc connection 
> is broken, or the master restarts. So next when the region server try 
> again,we will find that the state for the region and the TRSP is not correct, 
> and can lead to a RS abort or something even worse.
> We should be able to determine whether a reportRegionStateTransition call is 
> just a retry and has already been succeeded, and just ignore it.



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

Reply via email to