Fix for issue #1819 where TransportClient (sniff) fails to reconnect to nodes once removed if all nodes are removed
This commit is contained in:
parent
b2918d7c2b
commit
9d728fb448
|
@ -326,7 +326,8 @@ public class TransportClientNodesService extends AbstractComponent {
|
||||||
try {
|
try {
|
||||||
transportService.connectToNode(listedNode);
|
transportService.connectToNode(listedNode);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.debug("failed to connect to node [{}], removed from nodes list", e, listedNode);
|
logger.debug("failed to connect to node [{}], ignoring...", e, listedNode);
|
||||||
|
latch.countDown();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue