[
https://issues.apache.org/jira/browse/HBASE-21864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16764596#comment-16764596
]
stack commented on HBASE-21864:
-------------------------------
HBASE-21463 is related. If a report happens inside the current second, it is
not acted on.
> 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)