mysql_monitor: Apply patch available in upstream PR #52
https://github.com/percona/percona-pacemaker-agents/pull/53
This commit is contained in:
parent
58837684f0
commit
bf18728897
|
@ -545,6 +545,10 @@ mysql_monitor() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
else
|
||||||
|
ocf_log $1 "MySQL is not running, but there is a pidfile"
|
||||||
|
set_reader_attr 0
|
||||||
|
set_writer_attr 0
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
ocf_log $1 "MySQL is not running"
|
ocf_log $1 "MySQL is not running"
|
||||||
|
|
Loading…
Reference in New Issue