| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connection node_1; |
| 4 |
connection node_2; |
| 5 |
connection node_2; |
| 6 |
SET SESSION wsrep_on=OFF; |
| 7 |
CREATE TABLE test.t1 (f2 INTEGER); |
| 8 |
SET SESSION wsrep_on=ON; |
| 9 |
CREATE TABLE test.t1 (f1 INTEGER); |
| 10 |
ERROR 42S01: Table 't1' already exists |
| 11 |
connection node_1; |
| 12 |
SHOW CREATE TABLE test.t1; |
| 13 |
Table Create Table |
| 14 |
t1 CREATE TABLE `t1` ( |
| 15 |
`f1` int(11) DEFAULT NULL |
| 16 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
| 17 |
SHOW STATUS LIKE 'wsrep_cluster_status'; |
| 18 |
Variable_name Value |
| 19 |
wsrep_cluster_status Primary |
| 20 |
DROP TABLE test.t1; |
| 21 |
connection node_2; |
| 22 |
SET SESSION wsrep_sync_wait=0; |
| 23 |
SHOW CREATE TABLE test.t1; |
| 24 |
Table Create Table |
| 25 |
t1 CREATE TABLE `t1` ( |
| 26 |
`f2` int(11) DEFAULT NULL |
| 27 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
| 28 |
SHOW STATUS LIKE 'wsrep_cluster_status'; |
| 29 |
Variable_name Value |
| 30 |
wsrep_cluster_status Disconnected |
| 31 |
CREATE TABLE test.t2 (f1 INTEGER); |
| 32 |
ERROR 08S01: WSREP has not yet prepared node for application use |
| 33 |
SHOW TABLES IN test; |
| 34 |
Tables_in_test |
| 35 |
t1 |
| 36 |
Killing server ... |
| 37 |
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on "); |
| 38 |
CALL mtr.add_suppression("WSREP: Failed to execute TOI action"); |
| 39 |
CALL mtr.add_suppression("WSREP: TO isolation end failed"); |
| 40 |
connection node_1; |