Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 4.8Mb
PDF (A4) - 4.8Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.8Mb
HTML Download (Zip) - 1.9Mb


8.2.105 DUMP 8010

Code Symbol Kernel Block(s)
8010 --- SUMA

Description. Writes information about all subscribers and connected nodes to the cluster log.

Sample Output. In this example, node 1 is a management node, nodes 2 and 3 are data nodes, and nodes 4 and 5 are SQL nodes (which both act as replication masters).

2010-10-15 10:08:33 [MgmtSrvr] INFO     -- Node 2: c_subscriber_nodes: 0000000000000000000000000000000000000000000000000000000000000030
2010-10-15 10:08:33 [MgmtSrvr] INFO     -- Node 2: c_connected_nodes: 0000000000000000000000000000000000000000000000000000000000000032
2010-10-15 10:08:33 [MgmtSrvr] INFO     -- Node 3: c_subscriber_nodes: 0000000000000000000000000000000000000000000000000000000000000030
2010-10-15 10:08:33 [MgmtSrvr] INFO     -- Node 3: c_connected_nodes: 0000000000000000000000000000000000000000000000000000000000000032

For each data node, this DUMP command prints two hexadecimal numbers. These are representations of bitfields having one bit per node ID, starting with node ID 0 for the rightmost bit (0x01).

The subscriber nodes bitmask (c_subscriber_nodes) has the significant hexadecimal digits 30 (decimal 48), or binary 110000, which equates to nodes 4 and 5. The connected nodes bitmask (c_connected_nodes) has the significant hexadecimal digits 32 (decimal 50). The binary representation of this number is 110010, which has 1 as the second, fifth, and sixth digits (counting from the right), and so works out to nodes 1, 4, and 5 as the connected nodes.


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