Commit d3539561 authored by stewart@mysql.com's avatar stewart@mysql.com

In connect_clients thread:

- don't wait an extra 400ms before retrying a transporter connect if the port is dynamic
parent 6d12f230
...@@ -1221,14 +1221,11 @@ TransporterRegistry::start_clients_thread() ...@@ -1221,14 +1221,11 @@ TransporterRegistry::start_clients_thread()
if (result<0 && t->get_s_port()!=0) if (result<0 && t->get_s_port()!=0)
{
ndbout_c("Error while trying to make connection (Node %u to" ndbout_c("Error while trying to make connection (Node %u to"
" %u via port %u) error: %d. Retrying...", " %u via port %u) error: %d. Retrying...",
t->getRemoteNodeId(), t->getRemoteNodeId(),
t->getLocalNodeId(), t->getLocalNodeId(),
t->get_s_port()); t->get_s_port());
NdbSleep_MilliSleep(400); // wait before retrying
}
/** /**
* If dynamic, get the port for connecting from the management server * If dynamic, get the port for connecting from the management server
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment