| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connection node_1; |
| 4 |
connection node_2; |
| 5 |
connection node_3; |
| 6 |
CREATE TABLE test.t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB; |
| 7 |
connection node_2; |
| 8 |
SET wsrep_on=OFF; |
| 9 |
INSERT INTO t1 VALUES (1); |
| 10 |
LOCK TABLE t1 WRITE; |
| 11 |
SET GLOBAL wsrep_sync_wait=0; |
| 12 |
connection node_1; |
| 13 |
INSERT INTO t1 VALUES (1); |
| 14 |
SET GLOBAL wsrep_sync_wait=0; |
| 15 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1'; |
| 16 |
connection node_3; |
| 17 |
connection node_2; |
| 18 |
UNLOCK TABLES; |
| 19 |
connection node_3; |
| 20 |
connection node_1; |
| 21 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0'; |
| 22 |
SET GLOBAL wsrep_sync_wait=15; |
| 23 |
DROP TABLE test.t1; |
| 24 |
connection node_2; |
| 25 |
Killing server ... |
| 26 |
# restart |
| 27 |
connection node_2; |
| 28 |
CALL mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on "); |
| 29 |
CALL mtr.add_suppression("Slave SQL: Could not execute Write_rows event on table test\\.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST"); |
| 30 |
CALL mtr.add_suppression("WSREP: Event 3 Write_rows_v1 apply failed: 121, seqno"); |
| 31 |
CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster\\.\\.\\."); |
| 32 |
CALL mtr.add_suppression("WSREP: Failed to apply write set: "); |