In connect_clients thread:

- don't wait an extra 400ms before retrying a transporter connect if the port is dynamic
This commit is contained in:
stewart@mysql.com 2005-02-15 18:47:31 +11:00
parent 6d12f23047
commit d35395617b

View file

@ -1221,14 +1221,11 @@ TransporterRegistry::start_clients_thread()
if (result<0 && t->get_s_port()!=0)
{
ndbout_c("Error while trying to make connection (Node %u to"
" %u via port %u) error: %d. Retrying...",
t->getRemoteNodeId(),
t->getLocalNodeId(),
t->get_s_port());
NdbSleep_MilliSleep(400); // wait before retrying
}
/**
* If dynamic, get the port for connecting from the management server