Code | Symbol | Kernel Block(s) |
2604 | CmvmiDumpSubscriptions |
CMVMI |
Description. Dumps current event subscriptions.
This output appears in the
ndb_
file (local to each data node) and not in the management
server (global) cluster log file.
node_id_
out.log
Sample Output.
2007-04-17 17:10:54 [ndbd] INFO -- List subscriptions: 2007-04-17 17:10:54 [ndbd] INFO -- Subscription: 0, nodeId: 1, ref: 0x80000001 2007-04-17 17:10:54 [ndbd] INFO -- Category 0 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 1 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 2 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 3 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 4 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 5 Level 8 2007-04-17 17:10:54 [ndbd] INFO -- Category 6 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 7 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 8 Level 15 2007-04-17 17:10:54 [ndbd] INFO -- Category 9 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 10 Level 7 2007-04-17 17:10:54 [ndbd] INFO -- Category 11 Level 15
Additional Information. The output lists all event subscriptions; for each subscription a header line and a list of categories with their current log levels is printed. The following information is included in the output:
Subscription
.
The event subscription's internal ID
nodeID
.
Node ID of the subscribing node
ref
.
A block reference, consisting of a block ID from
storage/ndb/include/kernel/BlockNumbers.h
shifted to the left by 4 hexadecimal digits (16
bits) followed by a 4-digit hexadecimal node number.
Block id 0x8000
appears to be a
placeholder; it is defined as
MIN_API_BLOCK_NO
, with the node
number part being 1 as expected
Category
.
The cluster log category, as listed in
Event Reports Generated in MySQL Cluster (see
also the file
storage/ndb/include/mgmapi/mgmapi_config_parameters.h
).
Level
.
The event level setting (the range being 0 to 15).