#include "Ndbcntr.hpp"#include <ndb_limits.h>#include <ndb_version.h>#include <SimpleProperties.hpp>#include <signaldata/DictTabInfo.hpp>#include <signaldata/CreateTable.hpp>#include <signaldata/ReadNodesConf.hpp>#include <signaldata/NodeFailRep.hpp>#include <signaldata/TcKeyReq.hpp>#include <signaldata/TcKeyConf.hpp>#include <signaldata/EventReport.hpp>#include <signaldata/NodeStateSignalData.hpp>#include <signaldata/StopPerm.hpp>#include <signaldata/StopMe.hpp>#include <signaldata/WaitGCP.hpp>#include <signaldata/CheckNodeGroups.hpp>#include <signaldata/StartOrd.hpp>#include <signaldata/AbortAll.hpp>#include <signaldata/SystemError.hpp>#include <signaldata/NdbSttor.hpp>#include <signaldata/CntrStart.hpp>#include <signaldata/DumpStateOrd.hpp>#include <signaldata/FsRemoveReq.hpp>#include <signaldata/ReadConfig.hpp>#include <signaldata/FailRep.hpp>#include <AttributeHeader.hpp>#include <Configuration.hpp>#include <DebuggerNames.hpp>#include <NdbOut.hpp>#include <NdbTick.h>Include dependency graph for NdbcntrMain.cpp:

Go to the source code of this file.
Classes | |
| struct | BlockInfo |
Defines | |
| #define | NDBCNTR_C |
| #define | PARALLELL_NR 0 |
Functions | |
| Uint64 | setTimeout (Uint64 time, Uint32 timeoutValue) |
Variables | |
| Uint32 | g_currentStartPhase |
| static BlockInfo | ALL_BLOCKS [] |
| static const Uint32 | ALL_BLOCKS_SZ = sizeof(ALL_BLOCKS)/sizeof(BlockInfo) |
| static BlockReference | readConfigOrder [ALL_BLOCKS_SZ] |
| const bool | parallellNR = false |
| const unsigned int | RowsPerCommit = 16 |
| #define NDBCNTR_C |
Definition at line 17 of file NdbcntrMain.cpp.
| #define PARALLELL_NR 0 |
Tried with parallell nr, but it crashed in DIH so I turned it off, as I don't want to debug DIH now... Jonas 19/11-03
After trying for 2 hours, I gave up. DIH is not designed to support it, and it requires quite of lot of changes to make it work Jonas 5/12-03
Definition at line 615 of file NdbcntrMain.cpp.
Definition at line 486 of file NdbcntrMain.cpp.
Referenced by Ndbcntr::execREAD_NODESCONF().
00486 { 00487 if(timeoutValue == 0) 00488 return ~(Uint64)0; 00489 return time + timeoutValue; 00490 }
Here is the caller graph for this function:

BlockInfo ALL_BLOCKS[] [static] |
Initial value:
{
{ NDBFS_REF, 0 , 2000, 2999 },
{ DBTC_REF, 1 , 8000, 8035 },
{ DBDIH_REF, 1 , 7000, 7173 },
{ DBLQH_REF, 1 , 5000, 5030 },
{ DBACC_REF, 1 , 3000, 3999 },
{ DBTUP_REF, 1 , 4000, 4007 },
{ DBDICT_REF, 1 , 6000, 6003 },
{ NDBCNTR_REF, 0 , 1000, 1999 },
{ QMGR_REF, 1 , 1, 999 },
{ CMVMI_REF, 1 , 9000, 9999 },
{ TRIX_REF, 1 , 0, 0 },
{ BACKUP_REF, 1 , 10000, 10999 },
{ DBUTIL_REF, 1 , 11000, 11999 },
{ SUMA_REF, 1 , 13000, 13999 },
{ DBTUX_REF, 1 , 12000, 12999 }
,{ TSMAN_REF, 1 , 0, 0 }
,{ LGMAN_REF, 1 , 0, 0 }
,{ PGMAN_REF, 1 , 0, 0 }
,{ RESTORE_REF,1 , 0, 0 }
}
Definition at line 70 of file NdbcntrMain.cpp.
Referenced by Ndbcntr::execAPI_START_REP(), Ndbcntr::execCNTR_START_REP(), Ndbcntr::Missra::execSTTORRY(), Ndbcntr::Missra::sendNextREAD_CONFIG_REQ(), Ndbcntr::Missra::sendNextSTTOR(), and Ndbcntr::updateNodeState().
const Uint32 ALL_BLOCKS_SZ = sizeof(ALL_BLOCKS)/sizeof(BlockInfo) [static] |
Definition at line 92 of file NdbcntrMain.cpp.
Referenced by Ndbcntr::execAPI_START_REP(), Ndbcntr::execCNTR_START_REP(), Ndbcntr::Missra::sendNextREAD_CONFIG_REQ(), Ndbcntr::Missra::sendNextSTTOR(), and Ndbcntr::updateNodeState().
Definition at line 56 of file NdbcntrMain.cpp.
Referenced by NdbShutdown(), and Ndbcntr::Missra::sendNextSTTOR().
| const bool parallellNR = false |
Definition at line 620 of file NdbcntrMain.cpp.
BlockReference readConfigOrder[ALL_BLOCKS_SZ] [static] |
Initial value:
{
CMVMI_REF,
DBTUP_REF,
DBACC_REF,
DBTC_REF,
DBLQH_REF,
DBTUX_REF,
DBDICT_REF,
DBDIH_REF,
NDBFS_REF,
NDBCNTR_REF,
QMGR_REF,
TRIX_REF,
BACKUP_REF,
DBUTIL_REF,
SUMA_REF,
TSMAN_REF,
LGMAN_REF,
PGMAN_REF,
RESTORE_REF
}
Definition at line 94 of file NdbcntrMain.cpp.
| const unsigned int RowsPerCommit = 16 |
Definition at line 1762 of file NdbcntrMain.cpp.
1.4.7

