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
8dce5e19
Commit
8dce5e19
authored
Jan 13, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#15619 - ndb_autodiscover sometimes fails
parent
66b38bc6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
ndb/src/mgmsrv/MgmtSrvr.cpp
ndb/src/mgmsrv/MgmtSrvr.cpp
+10
-0
No files found.
ndb/src/mgmsrv/MgmtSrvr.cpp
View file @
8dce5e19
...
...
@@ -1868,6 +1868,16 @@ MgmtSrvr::alloc_node_id(NodeId * nodeId,
m_connect_address
[
id_found
].
s_addr
=
0
;
}
m_reserved_nodes
.
set
(
id_found
);
if
(
theFacade
&&
id_found
!=
theFacade
->
ownId
())
{
/**
* Make sure we're ready to accept connections from this node
*/
theFacade
->
lock_mutex
();
theFacade
->
doConnect
(
id_found
);
theFacade
->
unlock_mutex
();
}
char
tmp_str
[
128
];
m_reserved_nodes
.
getText
(
tmp_str
);
g_eventLogger
.
info
(
"Mgmt server state: nodeid %d reserved for ip %s, m_reserved_nodes %s."
,
...
...
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