Comment 0 for bug 1742198

Chris Skretowski (coloomb) wrote :

I'm just reporting bug, full credit for fix to vleclere

As per:

There is a bad integer comparisons in the "mysqld_safe" script.


What is is:
 if [ $ret > 0 ]; then

What is should be:
 if [ "$ret" -gt "0" ]; then

Bug can be reproduced by following this scenario:

- Start DB, make sure that cluster is in SYNC
- Force brutal shutdown of one node ("power off" or "reset")
- See logs. Without this fix DB will not start.