| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
CALL mtr.add_suppression("WSREP: Stray state UUID msg: "); |
| 4 |
CALL mtr.add_suppression("WSREP: .*Sending JOIN failed: "); |
| 5 |
CALL mtr.add_suppression("WSREP: .*sending install message failed: (Transport endpoint|Socket) is not connected"); |
| 6 |
CALL mtr.add_suppression("WSREP: .*There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside"); |
| 7 |
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'; |
| 8 |
VARIABLE_VALUE = 4 |
| 9 |
1 |
| 10 |
connection node_1; |
| 11 |
CREATE TABLE t1 (f1 INTEGER NOT NULL PRIMARY KEY) ENGINE=INNODB; |
| 12 |
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; |
| 13 |
connection node_3; |
| 14 |
SELECT COUNT(*) AS EXPECT_0 FROM t1; |
| 15 |
EXPECT_0 |
| 16 |
0 |
| 17 |
INSERT INTO t1 VALUES (1); |
| 18 |
SELECT COUNT(*) AS EXPECT_1 FROM t1; |
| 19 |
EXPECT_1 |
| 20 |
1 |
| 21 |
connection node_2; |
| 22 |
SELECT COUNT(*) AS EXPECT_1 FROM t1; |
| 23 |
EXPECT_1 |
| 24 |
1 |
| 25 |
connection node_1; |
| 26 |
SELECT COUNT(*) AS EXPECT_1 FROM t1; |
| 27 |
EXPECT_1 |
| 28 |
1 |
| 29 |
connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4; |
| 30 |
connection node_4; |
| 31 |
SELECT COUNT(*) AS EXPECT_1 FROM t1; |
| 32 |
EXPECT_1 |
| 33 |
1 |
| 34 |
SELECT VARIABLE_VALUE LIKE '%gmcast.segment = 3%' FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME = 'wsrep_provider_options'; |
| 35 |
VARIABLE_VALUE LIKE '%gmcast.segment = 3%' |
| 36 |
1 |
| 37 |
DROP TABLE t1; |
| 38 |
connection node_1; |
| 39 |
call mtr.add_suppression("WSREP: read_completion_condition"); |
| 40 |
call mtr.add_suppression("WSREP: read_handler"); |
| 41 |
disconnect node_3; |
| 42 |
disconnect node_4; |
| 43 |
disconnect node_2; |
| 44 |
disconnect node_1; |