[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
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.