2
Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; version 2 of the License.
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
#ifndef DUMP_STATE_ORD_HPP
19
#define DUMP_STATE_ORD_HPP
21
#include "SignalData.hpp"
24
* DumpStateOrd is sent by the mgmtsrvr to CMVMI.
25
* CMVMI the redirect the signal to all blocks.
27
* The implementation of the DumpStateOrd should dump state information
28
* (typically using the infoEvent-function)
39
friend class MgmtSrvr;
56
/* any dumps above this value should go to one block only */
57
OneBlockOnly = 100000,
60
BackupStatus = 100000,
67
LQHLogFileInitStatus = 102000,
70
// 1 QMGR Dump information about phase 1 variables
71
// 13 CMVMI Dump signal counter
72
// 13 NDBCNTR Dump start phase information
73
// 13 NDBCNTR_REF Dump start phase information
74
CommitAckMarkersSize = 14, // TC+LQH Dump free size in commitAckMarkerP
75
CommitAckMarkersDump = 15, // TC+LQH Dump info in commitAckMarkerPool
76
DihDumpNodeRestartInfo = 16, // 16 DIH Dump node restart info
77
DihDumpNodeStatusInfo = 17,// 17 DIH Dump node status info
78
DihPrintFragmentation = 18,// 18 DIH Print fragmentation
79
// 19 NDBFS Fipple with O_SYNC, O_CREATE etc.
81
NdbcntrTestStopOnError = 25,
82
NdbcntrStopNodes = 70,
83
// 100-105 TUP and ACC
87
NdbfsDumpFileStat = 400,
88
NdbfsDumpAllFiles = 401,
89
NdbfsDumpOpenFiles = 402,
90
NdbfsDumpIdleFiles = 403,
91
CmvmiSchedulerExecutionTimer = 502,
92
CmvmiRealtimeScheduler = 503,
93
CmvmiExecuteLockCPU = 504,
94
CmvmiMaintLockCPU = 505,
95
CmvmiSchedulerSpinTimer = 506,
97
LqhDumpAllDefinedTabs = 1332,
98
LqhDumpNoLogPages = 1333,
99
LqhDumpOneScanRec = 2300,
100
LqhDumpAllScanRec = 2301,
101
LqhDumpAllActiveScanRec = 2302,
102
LqhDumpLcpState = 2303,
103
LqhErrorInsert5042 = 2315,
105
AccDumpOneScanRec = 2400,
106
AccDumpAllScanRec = 2401,
107
AccDumpAllActiveScanRec = 2402,
108
AccDumpOneOperationRec = 2403,
109
AccDumpNumOpRecs = 2404,
110
AccDumpFreeOpRecs = 2405,
111
AccDumpNotFreeOpRecs = 2406,
112
DumpPageMemory = 1000, // Acc & TUP
113
TcDumpAllScanFragRec = 2500,
114
TcDumpOneScanFragRec = 2501,
115
TcDumpAllScanRec = 2502,
116
TcDumpAllActiveScanRec = 2503,
117
TcDumpOneScanRec = 2504,
118
TcDumpOneApiConnectRec = 2505,
119
TcDumpAllApiConnectRec = 2506,
120
TcSetTransactionTimeout = 2507,
121
TcSetApplTransactionTimeout = 2508,
122
TcStartDumpIndexOpCount = 2512,
123
TcDumpIndexOpCount = 2513,
124
CmvmiDumpConnections = 2600,
125
CmvmiDumpLongSignalMemory = 2601,
126
CmvmiSetRestartOnErrorInsert = 2602,
127
CmvmiTestLongSigWithDelay = 2603,
128
CmvmiDumpSubscriptions = 2604, /* note: done to respective outfile
129
to be able to debug if events
130
for some reason does not end up
132
CmvmiTestLongSig = 2605, /* Long signal testing trigger */
149
DihDumpLCPState= 7013,
150
DihDumpLCPMasterTakeOver = 7014,
152
DihAllAllowNodeStart = 7016,
153
DihMinTimeBetweenLCP = 7017,
154
DihMaxTimeBetweenLCP = 7018,
158
EnableUndoDelayDataWrite = 7080, // DIH+ACC+TUP
159
DihSetTimeBetweenGcp = 7090,
160
DihStartLcpImmediately = 7099,
163
TuxLogToFile = 12001,
164
TuxSetLogFlags = 12002,
165
TuxMetaDataJunk = 12009,
171
DumpBackupSetCompressed = 13001,
172
DumpBackupSetCompressedLCP = 13002,
173
BackupErrorInsert = 13003,
176
DbinfoListTables = 14001,
177
DbinfoListColumns = 14002,
178
DbinfoScanTable = 14003,
180
SchemaResourceSnapshot = 4000, // Save resource consumption
181
SchemaResourceCheckLeak = 4001 // check same as snapshot
185
Uint32 args[25]; // Generic argument