An error occurred fetching the project authors.
  1. 16 Feb, 2005 1 commit
  2. 16 Dec, 2004 1 commit
    • unknown's avatar
      Further work on WL2278 · 52860811
      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.
      52860811
  3. 30 Nov, 2004 1 commit
    • unknown's avatar
      fixed error in test result · a668ea8f
      unknown authored
          added extra calls to retrieve connectstring used
          reengineered connect somewhat to make retries etc explicit
      
      
      mysql-test/r/ndb_index_unique.result:
        fixed error in test result
      ndb/include/mgmapi/mgmapi.h:
        added extra calls to retrieve connectstring used
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        added extra calls to retrieve connectstring used
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmapi/mgmapi.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved parse of quit to avoid connect before
      ndb/src/ndbapi/Ndbinit.cpp:
        reengineered connect somewhat to make retries etc explicit
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/tools/listTables.cpp:
        reengineered connect somewhat to make retries etc explicit
      sql/ha_ndbcluster.cc:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      a668ea8f
  4. 18 Nov, 2004 1 commit
    • unknown's avatar
      changed mysqladmin.c to mysqladmin.cc · 61cf4698
      unknown authored
          no need for dvlags to have DEFINE_CXA_PURE_VIRTUAL anymore
          aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
          removed all dependencies of LocalConfig, except for mgmapi internals
          enabled multiple management servrs to fetch data configurations from eachother
      
      
      client/Makefile.am:
        changed mysqladmin.c to mysqladmin.cc
      client/mysqladmin.cc:
        changed mysqladmin.c to mysqladmin.cc
      configure.in:
        no need for dvlags to have DEFINE_CXA_PURE_VIRTUAL anymore
      ndb/include/mgmapi/mgmapi.h:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/kernel/main.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/kernel/vm/Configuration.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
        changed to config setting to always use noOfMetaTables to make sure we don't overflow arrays
      ndb/src/kernel/vm/Configuration.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmapi/LocalConfig.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmapi/LocalConfig.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmapi/mgmapi.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmclient/CommandInterpreter.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmclient/main.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmclient/ndb_mgmclient.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmclient/ndb_mgmclient.h:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
        enabled multiple management servrs to fetch data configurations from eachother
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmsrv/main.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/tools/waiter.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      61cf4698
  5. 27 Sep, 2004 1 commit
    • unknown's avatar
      removed init on ConfigRetriever · b370bad1
      unknown authored
          added some debug printouts
          some changes in ndbcluster_init to make start of mysqld first work
      
      
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        removed init on ConfigRetriever
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        removed init on ConfigRetriever
        added some debug printouts
      ndb/src/kernel/vm/Configuration.cpp:
        removed init on ConfigRetriever
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        removed init on ConfigRetriever
        added sleep in retry
      sql/ha_ndbcluster.cc:
        some changes in ndbcluster_init to make start of mysqld first work
      b370bad1
  6. 25 Sep, 2004 2 commits
    • unknown's avatar
      added printout for where configuration is fetched · 6a557d96
      unknown authored
      debug printouts
      
      
      mysql-test/ndb/ndbcluster.sh:
        .
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        added printout for where configuration is fetched
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        added printout for where configuration is fetched
      ndb/src/kernel/main.cpp:
        added printout for where configuration is fetched
      ndb/src/kernel/vm/Configuration.cpp:
        added printout for where configuration is fetched
      ndb/src/kernel/vm/Configuration.hpp:
        added printout for where configuration is fetched
      ndb/src/ndbapi/Ndb.cpp:
        debug printouts
      6a557d96
    • unknown's avatar
      moved LocalConfig out of config retriver · a73ad896
      unknown authored
      a73ad896
  7. 11 Sep, 2004 1 commit
  8. 02 Sep, 2004 1 commit
    • unknown's avatar
      added connect thread to Ndb_cluster_connection + · b9b4338f
      unknown authored
      some other small fixes
      
      
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        added options to do_connect to contol how connects failures should be treated
      ndb/include/mgmcommon/NdbConfig.h:
        method to retrieve datadir path (to user for chdir)
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        Added connect thread
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        added options to do_connect to contol how connects failures should be treated
      ndb/src/common/mgmcommon/NdbConfig.c:
        method to retrieve datadir path (to user for chdir)
      ndb/src/kernel/main.cpp:
        ndbd to do chdir
      ndb/src/kernel/vm/WatchDog.cpp:
        added my_thread_init for debug
      ndb/src/ndbapi/ClusterMgr.cpp:
        added my_thread_init for debug
      ndb/src/ndbapi/TransporterFacade.cpp:
        removed call to atexit
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        added connect thread
      b9b4338f
  9. 26 Aug, 2004 1 commit
    • unknown's avatar
      ndb cluster config fixes, se respective files · 99a371f6
      unknown authored
      mysql-test/ndb/ndb_config_2_node.ini:
        added new config parameter datadir
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        added new config parameter datadir and backup data dir
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        changed verify config so that it can be used by mgmt srvr
      ndb/include/mgmcommon/NdbConfig.h:
        added option to set path for ndb files
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        changed token names for DB, MGM and API
        added config parametsers for datadir and backup data dir
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        changed verify config so that it can be used by mgmt srvr
      ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
        no need anymore to make uppercase
      ndb/src/common/mgmcommon/NdbConfig.c:
        bugfix+
        added method to set datadir
      ndb/src/kernel/Makefile.am:
        added debug libs to ndbd
      ndb/src/kernel/vm/Configuration.cpp:
        added debug libs to ndbd
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        added verify config to mgmt srvr
      ndb/src/mgmsrv/main.cpp:
        .
      99a371f6
  10. 09 Aug, 2004 1 commit
    • unknown's avatar
      bug#4529 · 951b9186
      unknown authored
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        Separate connect and all/fetch
      ndb/include/mgmcommon/LocalConfig.hpp:
        Use BaseString
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Separate connect and all/fetch
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        Removed useless onlyNodeId
      ndb/src/kernel/main.cpp:
        Separeted Configuration fetch/setup
      ndb/src/kernel/vm/Configuration.cpp:
        Separeted Configuration fetch/setup
      ndb/src/kernel/vm/Configuration.hpp:
        Separeted Configuration fetch/setup
      ndb/src/mgmapi/mgmapi.cpp:
        Fixed some return codes
      ndb/src/mgmclient/main.cpp:
        LocalConfig update
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Put mutex around reserving node'ids
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Put mutex around reserving node'ids
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        Changes ConfigRetreiver interface
      ndb/src/mgmsrv/Services.cpp:
        Allow reserve same id twice
      ndb/src/mgmsrv/main.cpp:
        Ignore SIGPIPE
      ndb/src/ndbapi/TransporterFacade.cpp:
        ConfigRetriever interface
      951b9186
  11. 28 Jun, 2004 1 commit
    • unknown's avatar
      several config fixes for ndb, see respective file · f9bad1ae
      unknown authored
      ndb/include/debugger/EventLogger.hpp:
        removed unused method
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        put NdbMgmHandle in ConfigRetriever to enable holding connection open until setup complete
      ndb/include/mgmcommon/NdbConfig.h:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/include/ndb_global.h:
        introduced define NDB_BASE_PORT to control default port for ndb
      ndb/src/common/debugger/EventLogger.cpp:
        removed unused method
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        introduced define NDB_BASE_PORT to control default port for ndb
        + added setting default Id's on nodes
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        put NdbMgmHandle in ConfigRetriever to enable holding connection open until setup complete
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        changed error message
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        introduced define NDB_BASE_PORT to control default port for ndb
      ndb/src/common/mgmcommon/NdbConfig.c:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/common/transporter/TransporterRegistry.cpp:
        spelling errors
      ndb/src/kernel/error/ErrorReporter.cpp:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/kernel/error/ErrorReporter.hpp:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/kernel/main.cpp:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/kernel/vm/Configuration.cpp:
        moved allocation of ConfigRetriever object to Configuration to enable holing "config" open until setup finished
      ndb/src/kernel/vm/Configuration.hpp:
        moved allocation of ConfigRetriever object to Configuration to enable holing "config" open until setup finished
      ndb/src/mgmclient/main.cpp:
        fix default port number
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        fix default port
      ndb/src/mgmsrv/Services.cpp:
        added spec of transporter in get_nodeid
      ndb/src/mgmsrv/main.cpp:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/ndbapi/TransporterFacade.cpp:
        moved allocation of ConfigRetriever object to TransporterFacade to enable holing "config" open until setup finished
      ndb/src/ndbapi/TransporterFacade.hpp:
        moved allocation of ConfigRetriever object to TransporterFacade to enable holing "config" open until setup finished
      f9bad1ae
  12. 23 Jun, 2004 1 commit
    • unknown's avatar
      WL 1748 · 9f13e9bb
      unknown authored
      ndb/include/kernel/signaldata/ApiRegSignalData.hpp:
        Added info about connected nodes to ApiRegConf
      ndb/include/mgmapi/mgmapi.h:
        New mgmapi command to get nodeid dynamically
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        New config param to specify port on for transporter setup
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        added notetype to getConfig
      ndb/include/portlib/NdbTCP.h:
        small detail
      ndb/include/transporter/TransporterRegistry.hpp:
        changed performstates and interface to connect/disconnect transporters
        added TransporterService for transporter setup
        changed model for setting up transporters
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        removed some config params as mandatory
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        added dynamic alloc of nodeid
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        added default localhost:2200 and dynamic id
      ndb/src/common/transporter/TCP_Transporter.cpp:
        moved TCP hostname stuff from TCP_Transporter to parent class Transporter
        changed TCP connection setup to use just one port for all transporters
      ndb/src/common/transporter/TCP_Transporter.hpp:
        moved TCP hostname stuff from TCP_Transporter to parent class Transporter
        changed TCP connection setup to use just one port for all transporters
      ndb/src/common/transporter/Transporter.cpp:
        moved TCP hostname stuff from TCP_Transporter to parent class Transporter
        changed TCP connection setup to use just one port for all transporters
      ndb/src/common/transporter/Transporter.hpp:
        moved TCP hostname stuff from TCP_Transporter to parent class Transporter
        changed TCP connection setup to use just one port for all transporters
      ndb/src/common/transporter/TransporterRegistry.cpp:
        changed performstates and interface to connect/disconnect transporters
        added TransporterService for transporter setup
        changed model for setting up transporters
      ndb/src/common/util/Makefile.am:
        New SocketAuthenticator
      ndb/src/common/util/SocketServer.cpp:
        small detail
      ndb/src/kernel/Makefile.am:
        small detail
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        new interface to performstates + cleanup
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        changed signal ApiRegConf
      ndb/src/kernel/vm/ThreadConfig.cpp:
        changed naming
      ndb/src/mgmapi/mgmapi.cpp:
        Use new Socket client
        New methid for allocating dynamic id
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        moved port setup from main.cpp to MgmtSrvr
        new method getNextFreeNodeId
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        ..
      ndb/src/mgmsrv/Services.cpp:
        allocate new nodeid
      ndb/src/mgmsrv/Services.hpp:
        ..
      ndb/src/mgmsrv/main.cpp:
        moved setup port to MgmtSrvr.cpp
        Rearranged setup order
      ndb/src/ndbapi/ClusterMgr.cpp:
        new API_REGCONF
      ndb/src/ndbapi/ClusterMgr.hpp:
        bitmask to hold connected nodes
      ndb/src/ndbapi/TransporterFacade.cpp:
        New transporter connect
      ndb/src/ndbapi/TransporterFacade.hpp:
        removed function not used
      ndb/src/kernel/main.cpp:
        new transporter setup
      9f13e9bb
  13. 26 May, 2004 1 commit
  14. 14 Apr, 2004 1 commit