Description:
Currently MySQL Proxy should be able to simply forward packets when being set as the "master" for a replication slave, but none of the callbacks work, making its use in this scenario rather pointless.
How to repeat:
1. Start proxy as
mysql-proxy --proxy-lua-script=./lib/rw-splitting.lua --plugins=proxy
--proxy-backend-addresses=master_host:master_port
2. Obtain master log information from master.
3. Connect to slave, run CHANGE MASTER command.
4. Run START SLAVE
(same as in bug#36779)
Suggested fix:
Implement the necessary binlog parsing and hook up callbacks to the states in the replication protocol.