| 1 |
CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB; |
| 2 |
connect con1, localhost, root; |
| 3 |
SET DEBUG_SYNC = "wsrep_after_certification SIGNAL after_certification_reached WAIT_FOR continue_after_certification"; |
| 4 |
SET DEBUG_SYNC = "wsrep_before_commit_order_enter SIGNAL before_commit_order_reached_1 WAIT_FOR continue_before_commit_order_1"; |
| 5 |
INSERT INTO t1 VALUES (9); |
| 6 |
connect con_ctrl, localhost, root; |
| 7 |
SET DEBUG_SYNC = "now WAIT_FOR after_certification_reached"; |
| 8 |
connect con2, localhost, root; |
| 9 |
SET DEBUG_SYNC = "wsrep_before_commit_order_enter SIGNAL before_commit_order_reached_2 WAIT_FOR continue_before_commit_order_2"; |
| 10 |
INSERT INTO t1 VALUES (10); |
| 11 |
connection con_ctrl; |
| 12 |
SET DEBUG_SYNC = "now WAIT_FOR before_commit_order_reached_2"; |
| 13 |
SET DEBUG_SYNC = "now SIGNAL continue_after_certification"; |
| 14 |
SET DEBUG_SYNC = "now WAIT_FOR before_commit_order_reached_1"; |
| 15 |
connection default; |
| 16 |
# Kill the server |
| 17 |
XA RECOVER; |
| 18 |
formatID gtrid_length bqual_length data |
| 19 |
disconnect con1; |
| 20 |
disconnect con2; |
| 21 |
disconnect con_ctrl; |
| 22 |
connection default; |
| 23 |
DROP TABLE t1; |
| 24 |
CALL mtr.add_suppression("You need to use --log-bin to make --binlog-format work"); |