ndb - make NdbMixRestarter a bit more verbose

parent 930f5cc2
...@@ -245,13 +245,17 @@ loop: ...@@ -245,13 +245,17 @@ loop:
goto loop; goto loop;
if (action == RTM_RestartNode || action == RTM_RestartNodeInitial) if (action == RTM_RestartNode || action == RTM_RestartNodeInitial)
ndbout << "Restarting " << node->node_id << endl; ndbout << "Restarting " << node->node_id;
else else
ndbout << "Stopping " << node->node_id << endl; ndbout << "Stopping " << node->node_id;
bool initial = bool initial =
action == RTM_RestartNodeInitial || action == RTM_StopNodeInitial; action == RTM_RestartNodeInitial || action == RTM_StopNodeInitial;
if (initial)
ndbout << " inital";
ndbout << endl;
if (restartOneDbNode(node->node_id, initial, true, true)) if (restartOneDbNode(node->node_id, initial, true, true))
return NDBT_FAILED; return NDBT_FAILED;
......
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