Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.10
-
None
-
None
Description
The JMS failover is not working due to a regression introduced in rev 1071631.
More specifically the reason is the following line being removed.
@@ -257,12 +256,14 @@
ConnectionClose close = exc.getClose();
if (close == null)
{
+ _conn.getProtocolHandler().setFailoverLatch(new CountDownLatch(1));
+
try
{
if (_conn.firePreFailover(false) && _conn.attemptReconnection())
On the surface this seems like a unintended omission. However I'd like to investigate it further and find out if this was intentional.
It if it was, then what was the reason behind it?
The obvious fix is to re-introduce this line. I have done so and preliminary tests indicates that it will resolve the issue. I haven't seen any other issues.
However I'd like to look at more information regarding the context of the above change before making a final decision.