Commit c0c8bafb authored by stewart@mysql.com's avatar stewart@mysql.com

BUG#15530: Cluster start up "show" shows all data nodes as master during start

along with the fix for 18843, this should fix the bug.
parent 45a3bb57
......@@ -1085,7 +1085,7 @@ print_nodes(ndb_mgm_cluster_state *state, ndb_mgm_configuration_iterator *it,
}
if (node_state->node_group >= 0) {
ndbout << ", Nodegroup: " << node_state->node_group;
if (node_state->dynamic_id == master_id)
if (master_id && node_state->dynamic_id == master_id)
ndbout << ", Master";
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment