Debian Codegraph @

mysql-test/suite/galera/r/galera_as_slave_nonprim.result

raw
1 connection node_2;
2 connection node_1;
3 connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4;
4 connection node_2;
5 START SLAVE;
6 SET SESSION wsrep_sync_wait = 0;
7 connection node_4;
8 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
9 connection node_2;
10 SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
11 connection node_1;
12 connection node_4;
13 INSERT INTO t1 VALUES (1),(2),(3),(4),(5);
14 connection node_2;
15 expected_error
16 1
17 connection node_2;
18 SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
19 connection node_1;
20 connection node_2;
21 START SLAVE;
22 connection node_4;
23 DROP TABLE t1;
24 connection node_2;
25 STOP SLAVE;
26 RESET SLAVE ALL;
27 CALL mtr.add_suppression("Slave SQL: Error 'Unknown command' on query");
28 CALL mtr.add_suppression("Slave: Unknown command Error_code: 1047");
29 CALL mtr.add_suppression("(Transport endpoint|Socket) is not connected");
30 CALL mtr.add_suppression("Slave SQL: Error in Xid_log_event: Commit could not be completed, 'Deadlock found when trying to get lock; try restarting transaction', Error_code: 1213");
31 CALL mtr.add_suppression("Slave SQL: Node has dropped from cluster, Error_code: 1047");
32 connection node_4;
33 RESET MASTER;