Skip to content

Commit

Permalink
restarting Monitor on unsuspect() (http://jira.jboss.com/jira/browse/…
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jul 10, 2007
1 parent 36b2c0f commit dd6b638
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/org/jgroups/protocols/FD.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// $Id: FD.java,v 1.40.2.2 2007/04/27 08:03:51 belaban Exp $
// $Id: FD.java,v 1.40.2.3 2007/07/10 11:35:59 belaban Exp $

package org.jgroups.protocols;

Expand Down Expand Up @@ -29,7 +29,7 @@
* NOT_MEMBER message. That member will then leave the group (and possibly rejoin). This is only done if
* <code>shun</code> is true.
* @author Bela Ban
* @version $Revision: 1.40.2.2 $
* @version $Revision: 1.40.2.3 $
*/
public class FD extends Protocol {
Address ping_dest=null;
Expand Down Expand Up @@ -356,6 +356,14 @@ private void unsuspect(Address mbr) {
pingable_mbrs.addAll(members);
pingable_mbrs.removeAll(bcast_task.getSuspectedMembers());
ping_dest=(Address)getPingDest(pingable_mbrs);
if(ping_dest != null) {
try {
startMonitor();
}
catch(Exception ex) {
if(log.isWarnEnabled()) log.warn("exception when calling unsuspect(): " + ex);
}
}
}


Expand Down

0 comments on commit dd6b638

Please sign in to comment.