Commit cc9c55b2 authored by Jan Lindström's avatar Jan Lindström

MDEV-21189 : Dropping partition with 'wsrep_OSU_method=RSU' and 'SESSION...

MDEV-21189 : Dropping partition with 'wsrep_OSU_method=RSU' and 'SESSION sql_log_bin = 0' cases the galera node to hang

Test cleanup. Best practice for using RSU, is to isolate the node
up-front, so this test did not reflect real world scenario
parent 5e0c80c2
...@@ -43,6 +43,5 @@ galera_var_reject_queries : assertion in inline_mysql_socket_send ...@@ -43,6 +43,5 @@ galera_var_reject_queries : assertion in inline_mysql_socket_send
galera_var_retry_autocommit: MDEV-18181 Galera test failure on galera.galera_var_retry_autocommit galera_var_retry_autocommit: MDEV-18181 Galera test failure on galera.galera_var_retry_autocommit
galera_wan : MDEV-17259 Test failure on galera.galera_wan galera_wan : MDEV-17259 Test failure on galera.galera_wan
mysql-wsrep#198 : MDEV-18935 Galera test mysql-wsrep#198 sporaric assertion transaction.cpp:362: int wsrep::transaction::before_commit(): Assertion `state() == s_executing || state() == s_committing || state() == s_must_abort || state() == s_replaying' failed. mysql-wsrep#198 : MDEV-18935 Galera test mysql-wsrep#198 sporaric assertion transaction.cpp:362: int wsrep::transaction::before_commit(): Assertion `state() == s_executing || state() == s_committing || state() == s_must_abort || state() == s_replaying' failed.
galera_partition : MDEV-21189 test timeout
partition : MDEV-19958 Galera test failure on galera.partition partition : MDEV-19958 Galera test failure on galera.partition
query_cache: MDEV-15805 Test failure on galera.query_cache query_cache: MDEV-15805 Test failure on galera.query_cache
connection node_2;
connection node_1;
connection node_1; connection node_1;
call mtr.add_suppression("WSREP: RSU failed due to pending transactions, schema: test, query ALTER.*"); call mtr.add_suppression("WSREP: RSU failed due to pending transactions, schema: test, query ALTER.*");
call mtr.add_suppression("WSREP: ALTER TABLE isolation failure"); call mtr.add_suppression("WSREP: ALTER TABLE isolation failure");
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4; connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4;
connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
connection node_1; connection node_1;
CREATE TABLE t1( CREATE TABLE t1(
id bigint unsigned NOT NULL AUTO_INCREMENT, id bigint unsigned NOT NULL AUTO_INCREMENT,
...@@ -396,13 +397,11 @@ SELECT COUNT(*) FROM t1; ...@@ -396,13 +397,11 @@ SELECT COUNT(*) FROM t1;
COUNT(*) COUNT(*)
350 350
connection node_2; connection node_2;
call p1(100);; call p1(10);;
connection node_1a;
call p1(100);;
connection node_3; connection node_3;
call p1(100);; call p1(10);;
connection node_4; connection node_4;
call p1(100);; call p1(10);;
connection node_1; connection node_1;
SET SESSION wsrep_OSU_method='RSU'; SET SESSION wsrep_OSU_method='RSU';
SELECT @@wsrep_OSU_method; SELECT @@wsrep_OSU_method;
...@@ -419,6 +418,6 @@ TOI ...@@ -419,6 +418,6 @@ TOI
connection node_2; connection node_2;
connection node_3; connection node_3;
connection node_4; connection node_4;
connection node_1a; connection node_1;
DROP TABLE t1; DROP TABLE t1;
DROP PROCEDURE p1; DROP PROCEDURE p1;
...@@ -9,7 +9,6 @@ call mtr.add_suppression("WSREP: ALTER TABLE isolation failure"); ...@@ -9,7 +9,6 @@ call mtr.add_suppression("WSREP: ALTER TABLE isolation failure");
--connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3 --connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
--connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4 --connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4
--connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1
--connection node_1 --connection node_1
...@@ -410,9 +409,6 @@ SELECT COUNT(*) FROM t1; ...@@ -410,9 +409,6 @@ SELECT COUNT(*) FROM t1;
--connection node_2 --connection node_2
--send call p1(10); --send call p1(10);
--connection node_1a
--send call p1(10);
--connection node_3 --connection node_3
--send call p1(10); --send call p1(10);
...@@ -446,9 +442,7 @@ reap; ...@@ -446,9 +442,7 @@ reap;
--error 0,ER_LOCK_DEADLOCK --error 0,ER_LOCK_DEADLOCK
reap; reap;
--connection node_1a --connection node_1
--error 0,ER_LOCK_DEADLOCK
reap;
DROP TABLE t1; DROP TABLE t1;
DROP PROCEDURE p1; DROP PROCEDURE p1;
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