[
https://issues.jboss.org/browse/JGRP-1559?page=com.atlassian.jira.plugin....
]
Bela Ban edited comment on JGRP-1559 at 12/27/12 12:06 PM:
-----------------------------------------------------------
This method is called every 2 seconds:
{code}
private void startFdMonitorIfNeeded(FD fd, JChannel channel) {
boolean moreThanTwoMembersInCluster = channel.isConnected() &&
channel.getView().getMembers().size() > 1;
if( moreThanTwoMembersInCluster ) {
if( !fd.isMonitorRunning() ) {
fd.startFailureDetection();
LOG.error("FD forcefully started for nodeId = " +
channel.getName() + ", cluster = " + channel.getClusterName());
}
}
}
{code}
After 65 min it reported that task was not running.
was (Author: belaban):
This method is called every 2 seconds:
private void startFdMonitorIfNeeded(FD fd, JChannel channel) {
boolean moreThanTwoMembersInCluster = channel.isConnected() &&
channel.getView().getMembers().size() > 1;
if( moreThanTwoMembersInCluster ) {
if( !fd.isMonitorRunning() ) {
fd.startFailureDetection();
LOG.error("FD forcefully started for nodeId = " +
channel.getName() + ", cluster = " + channel.getClusterName());
}
}
}
After 65 min it reported that task was not running.
FD: monitor task sometimes isn't running
----------------------------------------
Key: JGRP-1559
URL:
https://issues.jboss.org/browse/JGRP-1559
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.2.6, 3.3
FD.isMonitorRunning() is sometimes false even when the membership is > 1. Probable
cause is restartMonitor() will stops the running monitor, but doesn't start a new one
if ping_dest == null.
Need to investigate concurrent updates to pingable_mbrs and ping_dest.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira