mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-33898 : Galera test failure on galera.MW-369
Additional changes for the galera_vote_rejoin_ddl test (for 10.5+). Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
This commit is contained in:
committed by
Julius Goryavsky
parent
bca366e4a1
commit
33e4fbf045
@@ -1,7 +1,5 @@
|
||||
connection node_2;
|
||||
connection node_1;
|
||||
connection node_1;
|
||||
connection node_2;
|
||||
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
|
||||
connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4;
|
||||
connection node_1;
|
||||
@@ -55,6 +53,7 @@ expect_0
|
||||
SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2';
|
||||
expect_1
|
||||
1
|
||||
CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group. Leaving cluster.");
|
||||
connection node_4;
|
||||
SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
|
||||
expect_0
|
||||
@@ -64,3 +63,5 @@ expect_1
|
||||
1
|
||||
CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group. Leaving cluster.");
|
||||
DROP TABLE t2;
|
||||
disconnect node_3;
|
||||
disconnect node_4;
|
||||
|
@@ -2,9 +2,3 @@
|
||||
|
||||
[mysqld]
|
||||
wsrep-ignore-apply-errors=0
|
||||
|
||||
[mysqld.3]
|
||||
auto_increment_offset=3
|
||||
|
||||
[mysqld.4]
|
||||
auto_increment_offset=4
|
||||
|
@@ -6,25 +6,15 @@
|
||||
--source include/galera_cluster.inc
|
||||
--source include/big_test.inc
|
||||
|
||||
# Save original auto_increment_offset values.
|
||||
--let $node_1=node_1
|
||||
--let $node_2=node_2
|
||||
--source include/auto_increment_offset_save.inc
|
||||
# The following has to be set hard as these connection doesn't yet exists and
|
||||
# the auto_increment_offset value changes during the lifetime of the servers.
|
||||
--let $node_3=node_3
|
||||
--let $auto_increment_offset_node_3 = 3;
|
||||
--let $node_4=node_4
|
||||
--let $auto_increment_offset_node_4 = 4;
|
||||
|
||||
--connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
|
||||
--connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4
|
||||
|
||||
# Save original auto_increment_offset values.
|
||||
--let $node_1=node_1
|
||||
--let $node_2=node_2
|
||||
--let $node_3=node_3
|
||||
--let $node_4=node_4
|
||||
--source suite/galera/include/auto_increment_offset_save.inc
|
||||
--source include/auto_increment_offset_save.inc
|
||||
|
||||
--connection node_3
|
||||
# Isolate node #3
|
||||
@@ -92,6 +82,7 @@ CALL mtr.add_suppression("Slave SQL: Error 'Unknown table");
|
||||
--connection node_3
|
||||
SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
|
||||
SELECT COUNT(*) AS expect_1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2';
|
||||
CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with group. Leaving cluster.");
|
||||
|
||||
--connection node_4
|
||||
SELECT COUNT(*) AS expect_0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
|
||||
@@ -101,3 +92,6 @@ CALL mtr.add_suppression("WSREP: Vote 0 \\(success\\) on .* is inconsistent with
|
||||
DROP TABLE t2;
|
||||
|
||||
--source suite/galera/include/auto_increment_offset_restore.inc
|
||||
|
||||
--disconnect node_3
|
||||
--disconnect node_4
|
||||
|
Reference in New Issue
Block a user