Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f3ef9071
Commit
f3ef9071
authored
Jan 11, 2005
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report an error if connect_client fails.
parent
80dd983b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
ndb/src/common/transporter/TransporterRegistry.cpp
ndb/src/common/transporter/TransporterRegistry.cpp
+11
-5
No files found.
ndb/src/common/transporter/TransporterRegistry.cpp
View file @
f3ef9071
...
...
@@ -1209,11 +1209,17 @@ TransporterRegistry::start_clients_thread()
else
ndbout_c
(
"Failed to get dynamic port to connect to: %d"
,
res
);
}
if
(
theTransporterTypes
[
nodeId
]
!=
tt_TCP_TRANSPORTER
||
t
->
get_r_port
()
>
0
)
t
->
connect_client
();
else
NdbSleep_MilliSleep
(
400
);
if
(
theTransporterTypes
[
nodeId
]
!=
tt_TCP_TRANSPORTER
||
t
->
get_r_port
()
>
0
)
{
int
result
=
t
->
connect_client
();
if
(
result
<
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_r_port
());
}
else
NdbSleep_MilliSleep
(
400
);
// wait before retrying
}
break
;
case
DISCONNECTING
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment