summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/galera_sr/r/MDEV-27553.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/galera_sr/r/MDEV-27553.result')
-rw-r--r--mysql-test/suite/galera_sr/r/MDEV-27553.result36
1 files changed, 36 insertions, 0 deletions
diff --git a/mysql-test/suite/galera_sr/r/MDEV-27553.result b/mysql-test/suite/galera_sr/r/MDEV-27553.result
new file mode 100644
index 00000000..5a6a5bd4
--- /dev/null
+++ b/mysql-test/suite/galera_sr/r/MDEV-27553.result
@@ -0,0 +1,36 @@
+connection node_2;
+connection node_1;
+connection node_1;
+connection node_2;
+connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY);
+connection node_2;
+SET SESSION wsrep_trx_fragment_size=1;
+START TRANSACTION;
+INSERT INTO t1 VALUES (1);
+SELECT COUNT(*) `Expect 1` FROM mysql.wsrep_streaming_log;
+Expect 1
+1
+SET @@global.debug_dbug="+d,ha_index_init_fail";
+ROLLBACK;
+connection node_1;
+SET SESSION wsrep_sync_wait = 0;
+SELECT COUNT(*) `Expect 0` FROM mysql.wsrep_streaming_log;
+Expect 0
+0
+connection node_2;
+SET @@global.debug_dbug="";
+SET SESSION wsrep_sync_wait = 0;
+SELECT COUNT(*) `Expect 1` FROM mysql.wsrep_streaming_log;
+Expect 1
+1
+connection node_2;
+SET GLOBAL wsrep_on=OFF;
+# restart
+SELECT COUNT(*) `Expect 0` FROM mysql.wsrep_streaming_log;
+Expect 0
+0
+DROP TABLE t1;
+CALL mtr.add_suppression("WSREP: Failed to init table for index scan");
+CALL mtr.add_suppression("WSREP: Failed to apply write set");
+CALL mtr.add_suppression("Failed to report last committed");