connection node_2;
connection node_1;
SET GLOBAL wsrep_certify_nonPK = OFF;
connection node_2;
SET GLOBAL wsrep_certify_nonPK = OFF;
connection node_1;
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB /* Table has no primary key */;
CREATE TABLE t2 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1), (2);
Got one of the listed errors
INSERT INTO t2 VALUES (1), (2);
UPDATE t2 SET f1 = 3 WHERE f1 = 1;
connection node_2;
SELECT COUNT(*) = 0 FROM t1;
COUNT(*) = 0
1
SELECT COUNT(*) = 2 FROM t2;
COUNT(*) = 2
1
SELECT COUNT(*) = 1 FROM t2 WHERE f1 = 3;
COUNT(*) = 1
1
connection node_1;
SET GLOBAL wsrep_certify_nonPK = 1;
connection node_2;
SET GLOBAL wsrep_certify_nonPK = 1;
DROP TABLE t1;
DROP TABLE t2;
connection node_1;
call mtr.add_suppression("SQL statement was ineffective");
disconnect node_2;
disconnect node_1;
