| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; |
| 4 |
connection node_1; |
| 5 |
connection node_2; |
| 6 |
connection node_3; |
| 7 |
connection node_2; |
| 8 |
SET GLOBAL debug_dbug="d,crash_last_fragment_commit_after_fragment_removal"; |
| 9 |
CREATE TABLE t1 (f1 VARCHAR(30) not null primary key) ENGINE=InnoDB; |
| 10 |
SET AUTOCOMMIT=OFF; |
| 11 |
SET SESSION wsrep_trx_fragment_size=1; |
| 12 |
START TRANSACTION; |
| 13 |
INSERT INTO t1 VALUES ('primary1'),('primary2'),('primary3'),('primary4'),('primary5'); |
| 14 |
COMMIT; |
| 15 |
Got one of the listed errors |
| 16 |
connection node_1; |
| 17 |
connection node_2; |
| 18 |
# restart |
| 19 |
connection node_1; |
| 20 |
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log; |
| 21 |
COUNT(*) = 0 |
| 22 |
1 |
| 23 |
SELECT * FROM t1; |
| 24 |
f1 |
| 25 |
connection node_2; |
| 26 |
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log; |
| 27 |
COUNT(*) = 0 |
| 28 |
1 |
| 29 |
SELECT * FROM t1; |
| 30 |
f1 |
| 31 |
DROP TABLE t1; |