mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user