You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2019/02/09 00:45:00 UTC

[jira] [Updated] (HBASE-21864) add region state version and reinstate YouAreDead exception in region report

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

Sergey Shelukhin updated HBASE-21864:
-------------------------------------
    Description: 
The state version will ensure we don't have network-related races  (e.g. the one I reported in some other bug -
RS: send report {R1} ...
M: close R1
RS: I closed R1
M ... receive report {R1}
M: you shouldn't have R1, die).
Then we can revert the change that removed YouAreDead exception... RS in incorrect state should be either brought into correct state or killed because it means some bug; right now of double assignment happens (I found 2 different cases just this week ;)) master lets RS with incorrect assignment keep it forever.


  was:
The state version will ensure we don't have network-related races  (e.g. the one I reported in some other bug - RS: "send report {R1} ..." M: "close R1" R: "I closed R1" M ... "receive report {R1}" M: "you shouldn't have R1, die").
Then we can revert the change that removed YouAreDead exception... RS in incorrect state should be either brought into correct state or killed because it means some bug; right now of double assignment happens (I found 2 different cases just this week ;)) master lets RS with incorrect assignment keep it forever.



> add region state version and reinstate YouAreDead exception in region report
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-21864
>                 URL: https://issues.apache.org/jira/browse/HBASE-21864
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Priority: Major
>
> The state version will ensure we don't have network-related races  (e.g. the one I reported in some other bug -
> RS: send report {R1} ...
> M: close R1
> RS: I closed R1
> M ... receive report {R1}
> M: you shouldn't have R1, die).
> Then we can revert the change that removed YouAreDead exception... RS in incorrect state should be either brought into correct state or killed because it means some bug; right now of double assignment happens (I found 2 different cases just this week ;)) master lets RS with incorrect assignment keep it forever.



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