[
https://issues.apache.org/jira/browse/HBASE-18495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758032#comment-16758032
]
Allan Yang commented on HBASE-18495:
------------------------------------
Why isServerOnline() and isServerDead() can be both true? I think it is a bug.
As for the exclusive, there is a gray area that a dead server has already been
processed(or processing but master restarts), so it will not be online and not
in ServerDead either.
> [AMv2] Make methods isServerOnline() and isServerDead() in ServerManager
> mutually exclusive
> -------------------------------------------------------------------------------------------
>
> Key: HBASE-18495
> URL: https://issues.apache.org/jira/browse/HBASE-18495
> Project: HBase
> Issue Type: Bug
> Components: amv2
> Affects Versions: 2.0.0
> Reporter: Umesh Agashe
> Assignee: Umesh Agashe
> Priority: Major
> Fix For: 3.0.0, 2.3.0
>
>
> During debugging HBASE-18366, it was found that
> ServerManager.isServerOnline() and ServerManager.isServerDead() can return
> true at the same time. This causes problems with the code depending on which
> method is used. Making them mutually exclusive seems line right thing to do.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)