function stops one or more data nodes. Like
ndb_mgm_stop2(), it offers
the ability to specify whether the nodes should shut down
gracefully. In addition, it provides for a way to check to
see whether disconnection is required prior to stopping a
int ndb_mgm_stop3 ( NdbMgmHandle
number, const int*
ndb_mgm_stop3() takes 5 parameters:
numberof nodes to be stopped. Use
0to stop all of the data nodes in the cluster.
listof the node IDs of the nodes to be stopped.
The value of
abortdetermines how the nodes will be shut down.
1indicates the nodes will shut down immediately;
0indicates that the nodes will stop gracefully.
true), this means the you must disconnect before you can apply the command to stop. For example, disconnecting is required when stopping the management server to which the handle is connected.
The number of nodes actually stopped; in the event of
-1 is returned.