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


2.134 DUMP 8010

Code

8010

Symbol

---

Kernel Block

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 sources).

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

For each data node, thisDUMP 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 digits30 (decimal 48), or binary110000, which equates to nodes 4 and 5. The connected nodes bitmask (c_connected_nodes) has the significant hexadecimal digits32 (decimal 50). The binary representation of this number is110010, which has1 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.