[jboss-jira] [JBoss JIRA] Created: (JGRP-655) Connect failed
Bela Ban (JIRA)
jira-events at lists.jboss.org
Fri Jan 4 04:00:43 EST 2008
Connect failed
--------------
Key: JGRP-655
URL: http://jira.jboss.com/jira/browse/JGRP-655
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.7
[Vladimir]
I think I got one of the last failures in modified ViewDeliveryDemo. I am testing 2.6 branch on atlanta cluster. It was related to a case where no traffic seems to be going between members after connect failure occurred. A connect failure specifically related to join reject due to a member already being included in a view - this was not port related I believe but rather a race of sending join request. I used port manager.
Anyhow, to be honest I did not understand the underlying reasons but I did something that seems to be intuitive. In connect method I reversed stack to original state in case of connect failure. That includes calling stopStack and init().
if(res != null && res instanceof Exception) {
try {
prot_stack.stopStack();
}
catch(Exception e) {
if(log.isErrorEnabled()) log.error("exception: " + e);
} init();
throw new ChannelException("connect() failed", (Throwable)res);
}
}
After this fix I did not see the problem again an I ran three member test for about two hours.
Cheers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list