mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
56303b0383
a bit more work on failsafe replication client/mysqltest.c: added require_manager support mysql-test/mysql-test-run.sh: added --no-manager mysql-test/r/rpl_failsafe.result: updated result mysql-test/t/rpl000018.test: must have manager mysql-test/t/rpl_failsafe.test: must have manager sql/repl_failsafe.cc: more work sql/repl_failsafe.h: more work sql/slave.cc: update replication status for fail-safe replication on different events
24 lines
671 B
Text
24 lines
671 B
Text
require_manager;
|
|
source include/master-slave.inc;
|
|
connect (slave_sec,localhost,root,,test,0,slave.sock-1);
|
|
connect (slave_ter,localhost,root,,test,0,slave.sock-2);
|
|
connection master;
|
|
show variables like 'rpl_recovery_rank';
|
|
show status like 'Rpl_status';
|
|
create table t1(n int);
|
|
drop table t1;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
show variables like 'rpl_recovery_rank';
|
|
show status like 'Rpl_status';
|
|
connection slave_sec;
|
|
slave start;
|
|
sync_with_master;
|
|
show variables like 'rpl_recovery_rank';
|
|
show status like 'Rpl_status';
|
|
connection slave_ter;
|
|
slave start;
|
|
sync_with_master;
|
|
show variables like 'rpl_recovery_rank';
|
|
show status like 'Rpl_status';
|