Documentation Home
NDB Cluster Internals
Related Documentation Download this Manual
PDF (US Ltr) - 1.2Mb
PDF (A4) - 1.2Mb


2.12 DUMP 23

Code

23

Symbol

---

Kernel Block

BACKUP

Description.  Dumps all backup records and file entries belonging to those records.

Note

The example shows a single record with a single file only, but there may be multiple records and multiple file lines within each record.

Sample Output.  With no backup in progress (BackupRecord shows as0):

Node 2: BackupRecord 0: BackupId: 5 MasterRef: f70002 ClientRef: 0Node 2:  State: 2Node 2:  file 0: type: 3 flags: H'0

While a backup is in progress (BackupRecord is1):

Node 2: BackupRecord 1: BackupId: 8 MasterRef: f40002 ClientRef: 80010001Node 2:  State: 1Node 2:  file 3: type: 3 flags: H'1Node 2:  file 2: type: 2 flags: H'1Node 2:  file 0: type: 1 flags: H'9Node 2: BackupRecord 0: BackupId: 110 MasterRef: f70002 ClientRef: 0Node 2:  State: 2Node 2:  file 0: type: 3 flags: H'0

Additional Information.  PossibleState values are shown in the following table:

Table 2.2 State values, the corresponding State, and a description of each State.

ValueStateDescription
0INITIAL...
1DEFININGDefining backup content and parameters
2DEFINEDDEFINE_BACKUP_CONF signal sent by fragment replica, received by source
3STARTEDCreating triggers
4SCANNINGScanning fragments
5STOPPINGClosing files
6CLEANINGFreeing resources
7ABORTINGAborting backup

Types are shown in the following table:

Table 2.3 File type values and names

ValueName
1CTL_FILE
2LOG_FILE
3DATA_FILE
4LCP_FILE

Flags are shown in the following table:

Table 2.4 Flag values and names

ValueName
0x01BF_OPEN
0x02BF_OPENING
0x04BF_CLOSING
0x08BF_FILE_THREAD
0x10BF_SCAN_THREAD
0x20BF_LCP_META