diff options
author | unknown <stewart@mysql.com> | 2004-12-16 11:17:27 +1100 |
---|---|---|
committer | unknown <stewart@mysql.com> | 2004-12-16 11:17:27 +1100 |
commit | ff99dce1b1f5d7241829f5abc4ff30dd2a7819b9 (patch) | |
tree | f92f94de2bf150cf72e719133139b9aca32e9075 /ndb/src/kernel/vm/Configuration.hpp | |
parent | eab8601c16c1981a82675093764db825e8fb845e (diff) | |
download | mariadb-git-ff99dce1b1f5d7241829f5abc4ff30dd2a7819b9.tar.gz |
Further work on WL2278
Add calls to mgmd after setting up connections.
(not fully functional yet, checkin for pull)
ndb/include/mgmcommon/ConfigRetriever.hpp:
add get_mgmHandle() member function
ndb/include/transporter/TransporterRegistry.hpp:
Add remoteNodeId parameter to add_transporter interface
add get_transporter() and get_localNodeID()
these are required for getting the right information out of TransporterRegistry to inform mgmd of what ports we use to connect to other nodes.
ndb/src/common/mgmcommon/IPCConfig.cpp:
call add_transporter_interface with the new nodeId2 parameter
ndb/src/common/transporter/TransporterRegistry.cpp:
Implement additional (remoteNodeId) parameter in add_transporter_interface
Implement get_transporter()
ndb/src/kernel/main.cpp:
Call ndb_mgm_set_connection_int_parameter() to tell mgmd what ports we use to connect to other nodes.
ndb/src/kernel/vm/Configuration.hpp:
add get_config_retriever()
ndb/src/mgmapi/mgmapi.cpp:
Add DBUG_ENTER call to ndb_mgm_set_connection_int_parameter
ndb/src/ndbapi/TransporterFacade.hpp:
Add get_registry()
ndb/src/ndbapi/ndb_cluster_connection.cpp:
Add call to ndb_mgm_set_connection_int_parameter to tell mgmd what ports we use to connect to other nodes.
Diffstat (limited to 'ndb/src/kernel/vm/Configuration.hpp')
-rw-r--r-- | ndb/src/kernel/vm/Configuration.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ndb/src/kernel/vm/Configuration.hpp b/ndb/src/kernel/vm/Configuration.hpp index acf0e163a84..a257881e353 100644 --- a/ndb/src/kernel/vm/Configuration.hpp +++ b/ndb/src/kernel/vm/Configuration.hpp @@ -68,6 +68,7 @@ public: Uint32 get_mgmd_port() const {return m_mgmd_port;}; const char *get_mgmd_host() const {return m_mgmd_host;}; + ConfigRetriever* get_config_retriever() { return m_config_retriever; }; class LogLevel * m_logLevel; private: |