Commit 69328c31 authored by mkaruza's avatar mkaruza Committed by Jan Lindström

MDEV-18176 Galera test failure on galera.galera_gtid_slave_sst_rsync

If galera.galera_gtid_slave_sst_rsync is repeated more than once it will fail due incorrect GTID position. After stopping SLAVE node reset also GTID_SLAVE_POS variable.
parent 7d3161de
...@@ -123,6 +123,7 @@ DROP TABLE t2,t1; ...@@ -123,6 +123,7 @@ DROP TABLE t2,t1;
#Connection 2 #Connection 2
STOP SLAVE; STOP SLAVE;
RESET SLAVE ALL; RESET SLAVE ALL;
set global gtid_slave_pos="";
reset master; reset master;
#Connection 3 #Connection 3
reset master; reset master;
......
...@@ -196,6 +196,9 @@ DROP TABLE t2,t1; ...@@ -196,6 +196,9 @@ DROP TABLE t2,t1;
--connection node_2 --connection node_2
STOP SLAVE; STOP SLAVE;
RESET SLAVE ALL; RESET SLAVE ALL;
--disable_warnings
set global gtid_slave_pos="";
--enable_warnings
reset master; reset master;
--echo #Connection 3 --echo #Connection 3
......
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