You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/11/11 13:43:00 UTC

[jira] [Updated] (HBASE-21465) Retry on reportRegionStateTransition can lead to unexpected errors

     [ https://issues.apache.org/jira/browse/HBASE-21465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duo Zhang updated HBASE-21465:
------------------------------
    Attachment: HBASE-21465-UT.patch

> 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
>            Reporter: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: HBASE-21465-UT.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)