Describe the problem
Sysbench writes data and removes the slave node POD mysql container,the master/slave relationship is broken
the error as follows:
[ERROR] FOLLOWER[ID:sample-mysql-0.sample-mysql.default:8801, V:35, E:0].mysql.StartSlave.error[Error 1200: The server is not configured as slave; fix in config file or with CHANGE MASTER TO]
sysbench command as follows:
sysbench --mysql-host=sample-leader.default --mysql-port=3306 --mysql-user=radondb_usr --mysql-password=RadonDB@123 --mysql-db=radondb --threads=64 --time=300 --report-interval=10 --tables=64 --table-size=50000 oltp_write_only.lua run
Describe the problem Sysbench writes data and removes the slave node POD mysql container,the master/slave relationship is broken
the error as follows:
[ERROR] FOLLOWER[ID:sample-mysql-0.sample-mysql.default:8801, V:35, E:0].mysql.StartSlave.error[Error 1200: The server is not configured as slave; fix in config file or with CHANGE MASTER TO]
sysbench command as follows:
sysbench --mysql-host=sample-leader.default --mysql-port=3306 --mysql-user=radondb_usr --mysql-password=RadonDB@123 --mysql-db=radondb --threads=64 --time=300 --report-interval=10 --tables=64 --table-size=50000 oltp_write_only.lua run
the yaml as follows:
To Reproduce
1.Sysbench writes data 2.removes the slave node POD mysql container
Expected behavior
Environment: