EHC ❯ Made the Multicast Heartbeat Sender More Robust
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
I found that if I caused an IO exception in the heartbeat sender thread that it would throw out of the run() method and thread would never restart. This can be reproduced by simply pulling the network cable out of a machine for a few seconds and then replacing it. The cluster member then is in a state where it receives cache updates but does not emanate them.
I resolved this by putting an outer while around the socket.send() loop, trapping the exception inside it, then allowing it to recycle the socket. I also moved the closeSocket() call into a finally block of the outer try. Sourceforge Ticket ID: 1583996 - Opened By: tonyvoss - 24 Oct 2006 20:27 UTC
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira