[ 
https://issues.apache.org/jira/browse/HBASE-21863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16766530#comment-16766530
 ] 

stack commented on HBASE-21863:
-------------------------------

bq. Judging by the description of YouAreDeadException it was sortof intended 
for a different purpose; it was to tell RS that it's already dead from lease 
expiration, but doesn't know it due to timing issues on network I guess. Then 
it was repurposed for killing RS for incorrect state.
So I made a separate exception cause these are separate concerns, I can inherit 
either way.

That is right.

I was thinking that the RegionServer killers could have a common ancestor so 
you could avoid if this or that exception, kill.

Thanks for improving the comment (makes sense when you explain it).

So, if we have an existing check, use that instead of add new?

Thanks.

> narrow down the double-assignment race window
> ---------------------------------------------
>
>                 Key: HBASE-21863
>                 URL: https://issues.apache.org/jira/browse/HBASE-21863
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Major
>         Attachments: HBASE-21863.01.patch, HBASE-21863.patch
>
>
> See HBASE-21862.



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

Reply via email to