Commit c666ca7b authored by Andrei Elkin's avatar Andrei Elkin

MDEV-12012. Post-push attempt to catch failure in rpl_gtid_delete_domain...

MDEV-12012. Post-push attempt to catch failure in rpl_gtid_delete_domain failing on P8. The test is made more verbose.
parent e2dd4e32
...@@ -24,8 +24,47 @@ connection master; ...@@ -24,8 +24,47 @@ connection master;
FLUSH BINARY LOGS; FLUSH BINARY LOGS;
PURGE BINARY LOGS TO 'master-bin.000002';; PURGE BINARY LOGS TO 'master-bin.000002';;
FLUSH BINARY LOGS DELETE_DOMAIN_ID=(11); FLUSH BINARY LOGS DELETE_DOMAIN_ID=(11);
SELECT @@global.gtid_binlog_pos, @@global.gtid_binlog_state;
@@global.gtid_binlog_pos @@global.gtid_binlog_state
0-1-1 0-1-1
connection slave; connection slave;
SELECT @@global.gtid_slave_pos;
@@global.gtid_slave_pos
0-1-1,11-111-2
include/start_slave.inc include/start_slave.inc
==== BEGIN include/start_slave.inc ====
con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
START SLAVE;
.==== BEGIN include/wait_for_slave_to_start.inc ====
. con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
..==== BEGIN include/wait_for_slave_io_to_start.inc ====
.. con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
...==== BEGIN include/wait_for_slave_param.inc [Slave_IO_Running] ====
... con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
Waiting until 'Slave_IO_Running' = 'Yes' [timeout='300', $slave_error_param='Last_IO_Errno']
[connection slave]
...==== END include/wait_for_slave_param.inc [Slave_IO_Running] ====
... con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
[connection slave]
..==== END include/wait_for_slave_io_to_start.inc ====
.. con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
..==== BEGIN include/wait_for_slave_sql_to_start.inc ====
.. con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
...==== BEGIN include/wait_for_slave_param.inc [Slave_SQL_Running] ====
... con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
Waiting until 'Slave_SQL_Running' = 'Yes' [timeout='300', $slave_error_param='1']
[connection slave]
...==== END include/wait_for_slave_param.inc [Slave_SQL_Running] ====
... con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
[connection slave]
..==== END include/wait_for_slave_sql_to_start.inc ====
.. con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
[connection slave]
.==== END include/wait_for_slave_to_start.inc ====
. con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
[connection slave]
==== END include/start_slave.inc ====
con='slave' warn='1' qlog='1' rlog='1' aborterr='1'
connection master; connection master;
INSERT INTO t SET a=1; INSERT INTO t SET a=1;
connection slave; connection slave;
......
...@@ -56,10 +56,13 @@ FLUSH BINARY LOGS; ...@@ -56,10 +56,13 @@ FLUSH BINARY LOGS;
--eval PURGE BINARY LOGS TO '$purge_to_binlog'; --eval PURGE BINARY LOGS TO '$purge_to_binlog';
# with final removal of the extra domain # with final removal of the extra domain
--eval FLUSH BINARY LOGS DELETE_DOMAIN_ID=($extra_domain_id) --eval FLUSH BINARY LOGS DELETE_DOMAIN_ID=($extra_domain_id)
SELECT @@global.gtid_binlog_pos, @@global.gtid_binlog_state;
--connection slave --connection slave
SELECT @@global.gtid_slave_pos;
# start the slave sucessfully # start the slave sucessfully
--let rpl_debug=1
--source include/start_slave.inc --source include/start_slave.inc
--let rpl_debug=0
--connection master --connection master
# but the following gtid from the *extra* domain will break replication # but the following gtid from the *extra* domain will break replication
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment