mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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
This commit is contained in:
parent
5e0c80c2a5
commit
cc9c55b2e2
3 changed files with 7 additions and 15 deletions
|
@ -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_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.
|
||||
galera_partition : MDEV-21189 test timeout
|
||||
partition : MDEV-19958 Galera test failure on galera.partition
|
||||
query_cache: MDEV-15805 Test failure on galera.query_cache
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
connection node_2;
|
||||
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: ALTER TABLE isolation failure");
|
||||
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_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
|
||||
connection node_1;
|
||||
CREATE TABLE t1(
|
||||
id bigint unsigned NOT NULL AUTO_INCREMENT,
|
||||
|
@ -396,13 +397,11 @@ SELECT COUNT(*) FROM t1;
|
|||
COUNT(*)
|
||||
350
|
||||
connection node_2;
|
||||
call p1(100);;
|
||||
connection node_1a;
|
||||
call p1(100);;
|
||||
call p1(10);;
|
||||
connection node_3;
|
||||
call p1(100);;
|
||||
call p1(10);;
|
||||
connection node_4;
|
||||
call p1(100);;
|
||||
call p1(10);;
|
||||
connection node_1;
|
||||
SET SESSION wsrep_OSU_method='RSU';
|
||||
SELECT @@wsrep_OSU_method;
|
||||
|
@ -419,6 +418,6 @@ TOI
|
|||
connection node_2;
|
||||
connection node_3;
|
||||
connection node_4;
|
||||
connection node_1a;
|
||||
connection node_1;
|
||||
DROP TABLE t1;
|
||||
DROP PROCEDURE p1;
|
||||
|
|
|
@ -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_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
|
||||
|
||||
|
@ -410,9 +409,6 @@ SELECT COUNT(*) FROM t1;
|
|||
--connection node_2
|
||||
--send call p1(10);
|
||||
|
||||
--connection node_1a
|
||||
--send call p1(10);
|
||||
|
||||
--connection node_3
|
||||
--send call p1(10);
|
||||
|
||||
|
@ -446,9 +442,7 @@ reap;
|
|||
--error 0,ER_LOCK_DEADLOCK
|
||||
reap;
|
||||
|
||||
--connection node_1a
|
||||
--error 0,ER_LOCK_DEADLOCK
|
||||
reap;
|
||||
--connection node_1
|
||||
DROP TABLE t1;
|
||||
DROP PROCEDURE p1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue