Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 5.2Mb
PDF (A4) - 5.2Mb
EPUB - 2.2Mb
HTML Download (TGZ) - 2.1Mb
HTML Download (Zip) - 2.2Mb


8.2.74 DUMP 2604

Code Symbol Kernel Block(s)
2604 CmvmiDumpSubscriptions CMVMI

Description.  Dumps current event subscriptions.

Note

This output appears in the ndb_node_id_out.log file (local to each data node) and not in the management server (global) cluster log file.

Sample Output. 

Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- List subscriptions:
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Subscription: 0, nodeId: 1, ref: 0x80000001
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 0 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 1 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 2 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 3 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 4 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 5 Level 8
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 6 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 7 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 8 Level 15
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 9 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO     -- Category 10 Level 7
Sunday 01 November 2015 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).


User Comments
Sign Up Login You must be logged in to post a comment.