mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +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
33 lines
789 B
Text
33 lines
789 B
Text
slave stop;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
slave start;
|
|
show variables like 'rpl_recovery_rank';
|
|
Variable_name Value
|
|
rpl_recovery_rank 1
|
|
show status like 'Rpl_status';
|
|
Variable_name Value
|
|
Rpl_status AUTH_MASTER
|
|
create table t1(n int);
|
|
drop table t1;
|
|
show variables like 'rpl_recovery_rank';
|
|
Variable_name Value
|
|
rpl_recovery_rank 2
|
|
show status like 'Rpl_status';
|
|
Variable_name Value
|
|
Rpl_status ACTIVE_SLAVE
|
|
slave start;
|
|
show variables like 'rpl_recovery_rank';
|
|
Variable_name Value
|
|
rpl_recovery_rank 3
|
|
show status like 'Rpl_status';
|
|
Variable_name Value
|
|
Rpl_status ACTIVE_SLAVE
|
|
slave start;
|
|
show variables like 'rpl_recovery_rank';
|
|
Variable_name Value
|
|
rpl_recovery_rank 4
|
|
show status like 'Rpl_status';
|
|
Variable_name Value
|
|
Rpl_status ACTIVE_SLAVE
|