- Code
8010
- Symbol
---
- Kernel Block
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: 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.