mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
MDEV-24010 : galera_3nodes.GCF-354 MTR fails : WSREP has not yet prepared node for application use
Correct test.
This commit is contained in:
parent
0565d19973
commit
e2bcf68279
3 changed files with 8 additions and 7 deletions
|
@ -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_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
|
||||
|
|
|
@ -6,13 +6,14 @@ connection node_1;
|
|||
connection node_2;
|
||||
connection node_3;
|
||||
connection node_2;
|
||||
SET wsrep_on=OFF;
|
||||
SET SESSION wsrep_on=OFF;
|
||||
DROP SCHEMA test;
|
||||
connection node_3;
|
||||
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;
|
||||
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';
|
||||
Variable_name Value
|
||||
wsrep_cluster_status Primary
|
||||
|
|
|
@ -14,19 +14,20 @@
|
|||
# 1. Create different inconsistencies on nodes 2 and 3
|
||||
#
|
||||
--connection node_2
|
||||
SET wsrep_on=OFF;
|
||||
SET SESSION wsrep_on=OFF;
|
||||
DROP SCHEMA test;
|
||||
|
||||
--connection node_3
|
||||
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
|
||||
# trigger voting with 3 different votes. node_1 should remain alone
|
||||
# in the cluster.
|
||||
#
|
||||
--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'
|
||||
--source include/wait_condition.inc
|
||||
|
|
Loading…
Reference in a new issue