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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16764256#comment-16764256 ] 

stack commented on HBASE-21864:
-------------------------------

Trying to understand your scenario [~sershe]:

'send report' is the regular heartbeat from RS to M which includes currently open regions? Or is it something else?

Where is the "You shouldn't have R1, die" code? I can't see it in regionServerReport.... Its somewhere else?





> 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)