Commit 2123006d authored by unknown's avatar unknown
Browse files

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.


ndb/src/mgmclient/CommandInterpreter.cpp:
  Only show we have a master if one has been elected
parent 00cfd1a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
	  }
	}