#include <ndb_global.h>#include <my_pthread.h>#include "MgmtSrvr.hpp"#include "MgmtErrorReporter.hpp"#include <ConfigRetriever.hpp>#include <NdbOut.hpp>#include <NdbApiSignal.hpp>#include <kernel_types.h>#include <RefConvert.hpp>#include <BlockNumbers.h>#include <GlobalSignalNumbers.h>#include <signaldata/TestOrd.hpp>#include <signaldata/TamperOrd.hpp>#include <signaldata/StartOrd.hpp>#include <signaldata/ApiVersion.hpp>#include <signaldata/ResumeReq.hpp>#include <signaldata/SetLogLevelOrd.hpp>#include <signaldata/EventSubscribeReq.hpp>#include <signaldata/EventReport.hpp>#include <signaldata/DumpStateOrd.hpp>#include <signaldata/BackupSignalData.hpp>#include <signaldata/ManagementServer.hpp>#include <signaldata/NFCompleteRep.hpp>#include <signaldata/NodeFailRep.hpp>#include <signaldata/AllocNodeId.hpp>#include <NdbSleep.h>#include <EventLogger.hpp>#include <DebuggerNames.hpp>#include <ndb_version.h>#include <SocketServer.hpp>#include <NdbConfig.h>#include <NdbAutoPtr.hpp>#include <ndberror.h>#include <mgmapi.h>#include <mgmapi_configuration.hpp>#include <mgmapi_config_parameters.h>#include <m_string.h>#include <SignalSender.hpp>#include <ClusterMgr.hpp>#include "Services.hpp"Include dependency graph for MgmtSrvr.cpp:

Go to the source code of this file.
Classes | |
| class | ErrorItem |
Defines | |
| #define | DEBUG(x) |
| #define | INIT_SIGNAL_SENDER(ss, nodeId) |
Functions | |
| static void | require (bool v) |
| static NdbOut & | operator<< (NdbOut &out, const LogLevel &ll) |
| void | report_unknown_signal (SimpleSignal *signal) |
Variables | |
| int | global_flag_send_heartbeat_now |
| int | g_no_nodeid_checks |
| my_bool | opt_core |
| EventLogger | g_eventLogger |
| static ErrorItem | errorTable [] |
| static int | noOfErrorCodes = sizeof(errorTable) / sizeof(ErrorItem) |
| #define DEBUG | ( | x | ) |
Definition at line 67 of file MgmtSrvr.cpp.
| #define INIT_SIGNAL_SENDER | ( | ss, | |||
| nodeId | ) |
Value:
SignalSender ss(theFacade); \ ss.lock(); /* lock will be released on exit */ \ {\ int result = okToSendTo(nodeId, true);\ if (result != 0) {\ return result;\ }\ }
Definition at line 70 of file MgmtSrvr.cpp.
Referenced by MgmtSrvr::dumpState(), MgmtSrvr::insertError(), MgmtSrvr::setNodeLogLevelImpl(), MgmtSrvr::setSignalLoggingMode(), MgmtSrvr::setTraceNo(), MgmtSrvr::start(), MgmtSrvr::startSignalTracing(), and MgmtSrvr::stopSignalTracing().
| static NdbOut& operator<< | ( | NdbOut & | out, | |
| const LogLevel & | ll | |||
| ) | [static] |
Definition at line 106 of file MgmtSrvr.cpp.
References LogLevel::getLogLevel().
00107 { 00108 out << "[LogLevel: "; 00109 for(size_t i = 0; i<LogLevel::LOGLEVEL_CATEGORIES; i++) 00110 out << ll.getLogLevel((LogLevel::EventCategory)i) << " "; 00111 out << "]"; 00112 return out; 00113 }
Here is the call graph for this function:

| void report_unknown_signal | ( | SimpleSignal * | signal | ) |
Definition at line 700 of file MgmtSrvr.cpp.
References Logger::error(), g_eventLogger, SimpleSignal::header, SimpleSignal::readSignalNumber(), refToBlock(), refToNode(), and SignalHeader::theSendersBlockRef.
Referenced by MgmtSrvr::alloc_node_id_req(), MgmtSrvr::sendSTOP_REQ(), MgmtSrvr::sendVersionReq(), MgmtSrvr::setEventReportingLevelImpl(), and MgmtSrvr::startBackup().
00701 { 00702 g_eventLogger.error("Unknown signal received. SignalNumber: " 00703 "%i from (%d, %x)", 00704 signal->readSignalNumber(), 00705 refToNode(signal->header.theSendersBlockRef), 00706 refToBlock(signal->header.theSendersBlockRef)); 00707 }
Here is the call graph for this function:

Here is the caller graph for this function:

| static void require | ( | bool | v | ) | [static] |
ErrorItem errorTable[] [static] |
Definition at line 40 of file ClusterMgr.cpp.
Referenced by MgmtSrvr::alloc_node_id(), ClusterMgr::threadMain(), and MgmtSrvr::Allocated_resources::~Allocated_resources().
int noOfErrorCodes = sizeof(errorTable) / sizeof(ErrorItem) [static] |
Definition at line 33 of file ndb_opts.h.
1.4.7

