[Pacemaker] Percona MySQL RA on MySQL 5.5 problem

Nathan Bird nathan at acceleration.net
Fri Sep 14 18:20:36 UTC 2012


I tried searching a bit and it seems like this one hasn't been reported
yet, my apologies if it has.

The RA currently issues a "RESET SLAVE" command, but the meaning of this
changed in 5.5. https://dev.mysql.com/doc/refman/5.5/en/reset-slave.html

It now needs to do a "RESET SLAVE ALL".

Before I changed this the resource agent got into a weird state because
'show slave status' wasn't producing the expected blank output on a master.

Resource agent pulled from
https://github.com/y-trudeau/resource-agents-prm/raw/master/heartbeat/mysql
on 8/21/12 (though doesn't appear to have changed since).


Cheers,
Nathan Bird





More information about the Pacemaker mailing list