Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
M2.1, M3
-
None
Description
The makeBrokerConnection poses a problem with failover but not on its own. The use of makeBrokerConnection will start the connection process that if it fails will cause the Failover Thread to handle connection. As can be seen in the AMQConnection constructor the majority of the method needs to be moved in to a connect() method as it lets the failover mechanism handle the failover issue. (It does need to be improved as commented in a //todo there is a Thread.sleep loop that could be replaced with a wait() notify() mechanism.)
The other two cases are related to attempting reconnection due to a redirection which are currently only called as part of the failover mechanism and so should already be wrapped in FailoverSupport
Attachments
Issue Links
- relates to
-
QPID-144 Potential deadlocks during failover
- Closed