• unknown's avatar
    Further work on WL2278 · ff99dce1
    unknown authored
    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.
    ff99dce1
mgmapi.cpp 48.2 KB