| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; |
| 4 |
SELECT @@wsrep_on; |
| 5 |
@@wsrep_on |
| 6 |
0 |
| 7 |
connection node_1; |
| 8 |
START SLAVE; |
| 9 |
connection node_3; |
| 10 |
SHOW VARIABLES LIKE 'binlog_format'; |
| 11 |
Variable_name Value |
| 12 |
binlog_format ROW |
| 13 |
CREATE TABLE source (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB; |
| 14 |
CREATE TABLE target AS SELECT * FROM source; |
| 15 |
connection node_1; |
| 16 |
connection node_2; |
| 17 |
connection node_3; |
| 18 |
DROP TABLE target; |
| 19 |
INSERT INTO source VALUES(1); |
| 20 |
CREATE TABLE target AS SELECT * FROM source; |
| 21 |
connection node_1; |
| 22 |
connection node_2; |
| 23 |
connection node_3; |
| 24 |
DROP TABLE source; |
| 25 |
DROP TABLE target; |
| 26 |
connection node_2; |
| 27 |
call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on"); |
| 28 |
call mtr.add_suppression("WSREP: Failed to apply write set: gtid:"); |
| 29 |
connection node_1; |
| 30 |
STOP SLAVE; |
| 31 |
RESET SLAVE ALL; |
| 32 |
call mtr.add_suppression("WSREP: unexpected async replication event: 0"); |
| 33 |
connection node_3; |
| 34 |
RESET MASTER; |