mysql_monitor: Apply patch available in upstream PR #52

https://github.com/percona/percona-pacemaker-agents/pull/53
This commit is contained in:
Felipe Reyes 2015-04-07 12:51:43 -03:00
parent f9a6ea9ee9
commit 77c07abdc9
1 changed files with 4 additions and 0 deletions

View File

@ -545,6 +545,10 @@ mysql_monitor() {
;;
esac
else
ocf_log $1 "MySQL is not running, but there is a pidfile"
set_reader_attr 0
set_writer_attr 0
fi
else
ocf_log $1 "MySQL is not running"