ARTEMIS-385 small fix
This commit is contained in:
parent
de4e2cfe3a
commit
f0b8f1e356
|
@ -1337,16 +1337,21 @@ public class ClientSessionFactoryImpl implements ClientSessionFactoryInternal, C
|
|||
Pair<TransportConfiguration, TransportConfiguration> connectorPair,
|
||||
boolean isLast) {
|
||||
|
||||
if (isLast) {
|
||||
latchFinalTopology.countDown();
|
||||
}
|
||||
|
||||
try {
|
||||
// if it is our connector then set the live id used for failover
|
||||
if (connectorPair.getA() != null && TransportConfigurationUtil.isSameHost(connectorPair.getA(), connectorConfig)) {
|
||||
liveNodeID = nodeID;
|
||||
}
|
||||
|
||||
serverLocator.notifyNodeUp(uniqueEventID, nodeID, backupGroupName, scaleDownGroupName, connectorPair, isLast);
|
||||
}
|
||||
finally {
|
||||
if (isLast) {
|
||||
latchFinalTopology.countDown();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void notifyNodeDown(long eventTime, String nodeID) {
|
||||
|
|
Loading…
Reference in New Issue