[ 
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 -
{code}
RS: send report {R1} ...
M: close R1
RS: I closed R1
M ... receive report {R1}
M: you shouldn't have R1, die
{code}).
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 there's some bug; right now if 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 -
{code}
RS: send report {R1} ...
M: close R1
RS: I closed R1
M ... receive report {R1}
M: you shouldn't have R1, die
{code}).
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 -
> {code}
> RS: send report {R1} ...
> M: close R1
> RS: I closed R1
> M ... receive report {R1}
> M: you shouldn't have R1, die
> {code}).
> 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 there's some bug; right now if 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)

Reply via email to