| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connection node_2; |
| 4 |
SET GLOBAL wsrep_ignore_apply_errors = 2; |
| 5 |
connection node_1; |
| 6 |
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB; |
| 7 |
SET SESSION wsrep_on = OFF; |
| 8 |
INSERT INTO t1 VALUES (1); |
| 9 |
SET SESSION wsrep_on = ON; |
| 10 |
SET SESSION wsrep_trx_fragment_size = 1; |
| 11 |
DELETE FROM t1 WHERE f1 = 1; |
| 12 |
SET SESSION wsrep_trx_fragment_size = 0; |
| 13 |
INSERT INTO t1 VALUES (1); |
| 14 |
SELECT COUNT(*) = 1; |
| 15 |
COUNT(*) = 1 |
| 16 |
1 |
| 17 |
connection node_2; |
| 18 |
SELECT COUNT(*) = 1; |
| 19 |
COUNT(*) = 1 |
| 20 |
1 |
| 21 |
CALL mtr.add_suppression("Could not execute Delete_rows event on table"); |
| 22 |
CALL mtr.add_suppression("Can't find record in 't1'"); |
| 23 |
SET GLOBAL wsrep_ignore_apply_errors = 7; |
| 24 |
connection node_1; |
| 25 |
DROP TABLE t1; |