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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
88bab66f
Commit
88bab66f
authored
Feb 14, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-5.0-ndb
parents
513655ce
114487dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
2 deletions
+22
-2
ndb/src/kernel/vm/Configuration.cpp
ndb/src/kernel/vm/Configuration.cpp
+3
-0
ndb/src/mgmsrv/MgmtSrvr.cpp
ndb/src/mgmsrv/MgmtSrvr.cpp
+12
-1
ndb/src/ndbapi/ClusterMgr.cpp
ndb/src/ndbapi/ClusterMgr.cpp
+7
-1
No files found.
ndb/src/kernel/vm/Configuration.cpp
View file @
88bab66f
...
...
@@ -154,6 +154,7 @@ Configuration::Configuration()
_daemonMode
=
false
;
m_config_retriever
=
0
;
m_clusterConfig
=
0
;
m_clusterConfigIter
=
0
;
}
Configuration
::~
Configuration
(){
...
...
@@ -363,6 +364,8 @@ Configuration::setupConfiguration(){
ConfigValues
*
cf
=
ConfigValuesFactory
::
extractCurrentSection
(
iter
.
m_config
);
if
(
m_clusterConfigIter
)
ndb_mgm_destroy_iterator
(
m_clusterConfigIter
);
m_clusterConfigIter
=
ndb_mgm_create_configuration_iterator
(
p
,
CFG_SECTION_NODE
);
...
...
ndb/src/mgmsrv/MgmtSrvr.cpp
View file @
88bab66f
...
...
@@ -2909,7 +2909,18 @@ MgmtSrvr::getConnectionDbParameter(int node1,
void
MgmtSrvr
::
transporter_connect
(
NDB_SOCKET_TYPE
sockfd
)
{
theFacade
->
get_registry
()
->
connect_server
(
sockfd
);
if
(
theFacade
->
get_registry
()
->
connect_server
(
sockfd
))
{
/**
* Force an update_connections() so that the
* ClusterMgr and TransporterFacade is up to date
* with the new connection.
* Important for correct node id reservation handling
*/
NdbMutex_Lock
(
theFacade
->
theMutexPtr
);
theFacade
->
get_registry
()
->
update_connections
();
NdbMutex_Unlock
(
theFacade
->
theMutexPtr
);
}
}
int
MgmtSrvr
::
set_connect_string
(
const
char
*
str
)
...
...
ndb/src/ndbapi/ClusterMgr.cpp
View file @
88bab66f
...
...
@@ -410,7 +410,13 @@ ClusterMgr::reportConnected(NodeId nodeId){
theNode
.
connected
=
true
;
theNode
.
hbSent
=
0
;
theNode
.
hbCounter
=
0
;
/**
* make sure the node itself is marked connected even
* if first API_REGCONF has not arrived
*/
theNode
.
m_state
.
m_connected_nodes
.
set
(
nodeId
);
if
(
theNode
.
m_info
.
m_type
!=
NodeInfo
::
REP
)
{
theNode
.
hbFrequency
=
0
;
}
...
...
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