GitHub user gaohoward opened a pull request:
https://github.com/apache/activemq-artemis/pull/2197
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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gaohoward/activemq-artemis b_fix_ge_1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2197.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 #2197
----
commit ed6f6eedbce3d84180c086392bf35d675b22446b
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
----
---