Commit 79086a52 authored by Jan Lindström's avatar Jan Lindström

MDEV-24010 : galera_3nodes.GCF-354 MTR fails : WSREP has not yet prepared node for application use

Correct test.
parent 8de233af
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
# #
############################################################################## ##############################################################################
GCF-354 : MDEV-24010 galera_3nodes.GCF-354 MTR fails : WSREP has not yet prepared node for application use
galera_gtid_2_cluster : MDEV-23775 Galera test failure on galera_3nodes.galera_gtid_2_cluster galera_gtid_2_cluster : MDEV-23775 Galera test failure on galera_3nodes.galera_gtid_2_cluster
galera_ist_gcache_rollover : MDEV-23578 WSREP: exception caused by message: {v=0,t=1,ut=255,o=4,s=0,sr=0,as=1,f=6,src=50524cfe,srcvid=view_id(REG,50524cfe,4),insvid=view_id(UNKNOWN,00000000,0),ru=00000000,r=[-1,-1],fs=75,nl=(} galera_ist_gcache_rollover : MDEV-23578 WSREP: exception caused by message: {v=0,t=1,ut=255,o=4,s=0,sr=0,as=1,f=6,src=50524cfe,srcvid=view_id(REG,50524cfe,4),insvid=view_id(UNKNOWN,00000000,0),ru=00000000,r=[-1,-1],fs=75,nl=(}
galera_slave_options_do :MDEV-8798 galera_slave_options_do :MDEV-8798
......
...@@ -6,13 +6,14 @@ connection node_1; ...@@ -6,13 +6,14 @@ connection node_1;
connection node_2; connection node_2;
connection node_3; connection node_3;
connection node_2; connection node_2;
SET wsrep_on=OFF; SET SESSION wsrep_on=OFF;
DROP SCHEMA test; DROP SCHEMA test;
connection node_3; connection node_3;
SET SESSION wsrep_on=OFF; SET SESSION wsrep_on=OFF;
CREATE TABLE test.t1 (f1 INTEGER) engine=innodb; CREATE TABLE test.t1 (f1 INTEGER NOT NULL PRIMARY KEY) engine=innodb;
connection node_1; connection node_1;
CREATE TABLE test.t1 (f1 INTEGER) engine=innodb; CREATE TABLE test.t1 (f1 INTEGER NOT NULL PRIMARY KEY) engine=innodb;
INSERT INTO test.t1 values (1);
SHOW STATUS LIKE 'wsrep_cluster_status'; SHOW STATUS LIKE 'wsrep_cluster_status';
Variable_name Value Variable_name Value
wsrep_cluster_status Primary wsrep_cluster_status Primary
......
...@@ -14,19 +14,20 @@ ...@@ -14,19 +14,20 @@
# 1. Create different inconsistencies on nodes 2 and 3 # 1. Create different inconsistencies on nodes 2 and 3
# #
--connection node_2 --connection node_2
SET wsrep_on=OFF; SET SESSION wsrep_on=OFF;
DROP SCHEMA test; DROP SCHEMA test;
--connection node_3 --connection node_3
SET SESSION wsrep_on=OFF; SET SESSION wsrep_on=OFF;
CREATE TABLE test.t1 (f1 INTEGER) engine=innodb; CREATE TABLE test.t1 (f1 INTEGER NOT NULL PRIMARY KEY) engine=innodb;
# #
# 2. The following should generate different errors on nodes 2 and 3 and # 2. The following should generate different errors on nodes 2 and 3 and
# trigger voting with 3 different votes. node_1 should remain alone # trigger voting with 3 different votes. node_1 should remain alone
# in the cluster. # in the cluster.
# #
--connection node_1 --connection node_1
CREATE TABLE test.t1 (f1 INTEGER) engine=innodb; CREATE TABLE test.t1 (f1 INTEGER NOT NULL PRIMARY KEY) engine=innodb;
INSERT INTO test.t1 values (1);
--let $wait_condition = SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size' --let $wait_condition = SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'
--source include/wait_condition.inc --source include/wait_condition.inc
......
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