Description:
Running with this Cluster...
mysql> show status -r mycluster;
+------+----------+-------------+---------+-----------+
| Id | Process | Host | Status | Nodegroup |
+------+----------+-------------+---------+-----------+
| 1 | ndb_mgmd | 192.168.1.8 | running | |
| 2 | ndbd | 192.168.1.8 | running | 0 |
| 3 | ndbd | 192.168.1.9 | running | 0 |
| 4 | mysqld | 192.168.1.8 | running | |
| 5 | mysqld | 192.168.1.9 | running | |
+------+----------+-------------+---------+-----------+
5 rows in set (0.89 sec)
... from one client connected to 192.168.1.8 I initiated the shutdown of node 2; from a second client connected to 192.168.1.9 I then issued a command to shutdown node 4 (without waiting for the first command to complete. The second command completed and then I started node 4 again. The original command did not return (though node 2 had stopped). I had to kill the client.
How to repeat:
Follow the steps above
Suggested fix:
Either prevent multiple status-changing commands being run at once or make sure that all commands return.