GitHub user gaohoward opened a pull request:
https://github.com/apache/activemq-artemis/pull/2205
ARTEMIS-1995 Client fail over fails when live shut down too soon
In a live-backup scenario, if the live is restarted and shutdown too soon,
the client have a chance to fail on failover because it's internal topology
is inconsistent with the final status. The client keeps connecting to live
already shut down, never trying to connect to the backup.
It's a porting from HORNETQ-1572.
(Cherry-picked from master)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gaohoward/activemq-artemis c_2.6.x_1995
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2205.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2205
----
commit 2bb35e5dac05aeee3196b4457fbdd1214a214dd1
Author: Howard Gao <howard.gao@...>
Date: 2018-07-30T06:48:09Z
ARTEMIS-1995 Client fail over fails when live shut down too soon
In a live-backup scenario, if the live is restarted and shutdown too soon,
the client have a chance to fail on failover because it's internal topology
is inconsistent with the final status. The client keeps connecting to live
already shut down, never trying to connect to the backup.
It's a porting from HORNETQ-1572.
(Cherry-picked from master)
----
---