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

ASF subversion and git services commented on GEODE-6732:
--------------------------------------------------------

Commit 70b15565cf361b8c84f60b95e394a9228735ec5a in geode's branch 
refs/heads/develop from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=70b1556 ]

GEODE-6732 GMSHealthMonitor reports member is not available when self-health 
check fails

If a self-health check fails we should give a member that's under
suspicion a break and stop suspecting it for the moment.  If it's really
not there anymore a subsequent check will happen and that will resolve
the issue.


> GMSHealthMonitor reports member is not available when self-health check fails
> -----------------------------------------------------------------------------
>
>                 Key: GEODE-6732
>                 URL: https://issues.apache.org/jira/browse/GEODE-6732
>             Project: Geode
>          Issue Type: Bug
>          Components: core, membership
>            Reporter: Bruce Schuchardt
>            Assignee: Bruce Schuchardt
>            Priority: Major
>              Labels: SmallFeature
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> GMSHealthMonitor does a self-check if another node isn't responding.  If that 
> check fails it still seems to report that the other node is unavailable.
>  
> {code:java}
> } else {
>   // if this node can survive an availability check then initiate suspicion 
> about
>   // the node that failed the availability check
>   if (doTCPCheckMember(localAddress, this.socketPort, false)) {
>     membersInFinalCheck.remove(mbr);
>     // tell peers about this member and then perform another availability 
> check
>     memberSuspected(localAddress, mbr, reason);
>     initiateSuspicion(mbr, reason);
>     SuspectMembersMessage suspectMembersMessage =
>         new SuspectMembersMessage(Collections.singletonList(localAddress),
>             Collections
>                 .singletonList(new SuspectRequest(mbr, "failed availability 
> check")));
>     suspectMembersMessage.setSender(localAddress);
>     logger.debug("Performing local processing on suspect request");
>     processSuspectMembersRequest(suspectMembersMessage);
>   }
> }
> failed = true;
> {code}
>  



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

Reply via email to