Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
2.0.5
-
None
-
2017-42
Description
when maxscale is setup to monitor replication lag . Maxscale can run SQL command on the slaves
CREATE DATABASE IF NOT EXISTS maxscale_schema; |
CREATE TABLE IF NOT EXISTS maxscale_schema.replication_heartbeat (maxscale_id INT NOT NULL, master_server_id INT NOT NULL, master_timestamp INT UNSIGNED NOT NULL, PRIMARY KEY ( master_server_id, maxscale_id ) ) ENGINE=MYISAM DEFAULT CHARSET=latin1; |
CREATE DATABASE IF NOT EXISTS maxscale_schema; |
CREATE TABLE IF NOT EXISTS maxscale_schema.replication_heartbeat (maxscale_id INT NOT NULL, master_server_id INT NOT NULL, master_timestamp INT UNSIGNED NOT NULL, PRIMARY KEY ( master_server_id, maxscale_id ) ) ENGINE=MYISAM DEFAULT CHARSET=latin1; |
I propose that when state is slave and no table is discovered such insert are made on the master , and until it discovered monitor replication delay is disable