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

MDEV-26571 : galera_sr.GCF-627 MTR failed: Result length mismatch

Test changes only: do not output mysql.wsrep_streaming_log
contents.
parent 9024498e
...@@ -2,7 +2,6 @@ connection node_2; ...@@ -2,7 +2,6 @@ connection node_2;
connection node_1; connection node_1;
connection node_1; connection node_1;
CREATE TABLE t1 (f1 INTEGER, f2 VARCHAR(10)) ENGINE=InnoDB; CREATE TABLE t1 (f1 INTEGER, f2 VARCHAR(10)) ENGINE=InnoDB;
CREATE TABLE t2 (f1 INTEGER);
SET SESSION wsrep_trx_fragment_size = 1; SET SESSION wsrep_trx_fragment_size = 1;
SET AUTOCOMMIT=OFF; SET AUTOCOMMIT=OFF;
START TRANSACTION; START TRANSACTION;
...@@ -16,9 +15,10 @@ connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1; ...@@ -16,9 +15,10 @@ connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
INSERT INTO t1 VALUES (2); INSERT INTO t1 VALUES (2);
ERROR 42S02: Table 'test.t1' doesn't exist ERROR 42S02: Table 'test.t1' doesn't exist
connection node_1; connection node_1;
SELECT * FROM mysql.wsrep_streaming_log; SELECT COUNT(*) FROM mysql.wsrep_streaming_log;
node_uuid trx_id seqno flags frag COUNT(*)
0
connection node_2; connection node_2;
SELECT * FROM mysql.wsrep_streaming_log; SELECT COUNT(*) FROM mysql.wsrep_streaming_log;
node_uuid trx_id seqno flags frag COUNT(*)
DROP TABLE t2; 0
--source include/galera_cluster.inc --source include/galera_cluster.inc
--source include/have_innodb.inc
--connection node_1 --connection node_1
CREATE TABLE t1 (f1 INTEGER, f2 VARCHAR(10)) ENGINE=InnoDB; CREATE TABLE t1 (f1 INTEGER, f2 VARCHAR(10)) ENGINE=InnoDB;
CREATE TABLE t2 (f1 INTEGER);
SET SESSION wsrep_trx_fragment_size = 1; SET SESSION wsrep_trx_fragment_size = 1;
SET AUTOCOMMIT=OFF; SET AUTOCOMMIT=OFF;
...@@ -25,11 +23,9 @@ INSERT INTO t1 VALUES (2); ...@@ -25,11 +23,9 @@ INSERT INTO t1 VALUES (2);
--let $wait_condition = SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log --let $wait_condition = SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log
--source include/wait_condition.inc --source include/wait_condition.inc
SELECT * FROM mysql.wsrep_streaming_log; SELECT COUNT(*) FROM mysql.wsrep_streaming_log;
--connection node_2 --connection node_2
--let $wait_condition = SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log --let $wait_condition = SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log
--source include/wait_condition.inc --source include/wait_condition.inc
SELECT * FROM mysql.wsrep_streaming_log; SELECT COUNT(*) FROM mysql.wsrep_streaming_log;
DROP TABLE t2;
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