#include <ndb_global.h>#include <my_pthread.h>#include <ndb_limits.h>#include <ndb_version.h>#include "TransporterFacade.hpp"#include "ClusterMgr.hpp"#include <IPCConfig.hpp>#include "NdbApiSignal.hpp"#include "API.hpp"#include <NdbSleep.h>#include <NdbOut.hpp>#include <NdbTick.h>#include <signaldata/NodeFailRep.hpp>#include <signaldata/NFCompleteRep.hpp>#include <signaldata/ApiRegSignalData.hpp>#include <mgmapi.h>#include <mgmapi_configuration.hpp>#include <mgmapi_config_parameters.h>Include dependency graph for ClusterMgr.cpp:

Go to the source code of this file.
Functions | |
| void * | runClusterMgr_C (void *me) |
| void | ndbSetOwnVersion () |
| void * | runArbitMgr_C (void *me) |
Variables | |
| int | global_flag_send_heartbeat_now = 0 |
| int | global_flag_skip_invalidate_cache = 0 |
| int | global_mgmt_server_check = 0 |
| void ndbSetOwnVersion | ( | ) |
Definition at line 79 of file version.c.
References buf, MAKE_VERSION, NdbEnv_GetEnv(), ndbout_c(), and ndbOwnVersionTesting.
Referenced by ClusterMgr::ClusterMgr(), and Configuration::init().
00079 { 00080 char buf[256]; 00081 if (NdbEnv_GetEnv("NDB_SETVERSION", buf, sizeof(buf))) { 00082 Uint32 _v1,_v2,_v3; 00083 if (sscanf(buf, "%u.%u.%u", &_v1, &_v2, &_v3) == 3) { 00084 ndbOwnVersionTesting = MAKE_VERSION(_v1,_v2,_v3); 00085 ndbout_c("Testing: Version set to 0x%x", ndbOwnVersionTesting); 00086 } 00087 } 00088 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void* runArbitMgr_C | ( | void * | me | ) |
| void* runClusterMgr_C | ( | void * | me | ) |
Definition at line 46 of file ClusterMgr.cpp.
References NdbSleep_MilliSleep(), and NULL.
00047 { 00048 ((ClusterMgr*) me)->threadMain(); 00055 #ifdef NDB_OSE 00056 NdbSleep_MilliSleep(50); 00057 #endif 00058 return NULL; 00059 }
Here is the call graph for this function:

| int global_flag_send_heartbeat_now = 0 |
Definition at line 40 of file ClusterMgr.cpp.
Referenced by MgmtSrvr::alloc_node_id(), ClusterMgr::threadMain(), and MgmtSrvr::Allocated_resources::~Allocated_resources().
| int global_mgmt_server_check = 0 |
Definition at line 309 of file ClusterMgr.cpp.
Referenced by ClusterMgr::execAPI_REGCONF(), and main().
1.4.7

