| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB; |
| 4 |
INSERT INTO t1 VALUES (1); |
| 5 |
SELECT WSREP_SYNC_WAIT_UPTO_GTID(NULL); |
| 6 |
ERROR HY000: Incorrect arguments to wsrep_sync_wait_upto_gtid |
| 7 |
SELECT WSREP_SYNC_WAIT_UPTO_GTID('a'); |
| 8 |
ERROR HY000: Could not parse GTID list |
| 9 |
SELECT WSREP_SYNC_WAIT_UPTO_GTID(2); |
| 10 |
ERROR HY000: Could not parse GTID list |
| 11 |
SELECT WSREP_SYNC_WAIT_UPTO_GTID('1-1-1,1-1-2'); |
| 12 |
ERROR HY000: Incorrect arguments to wsrep_sync_wait_upto_gtid |
| 13 |
WSREP_SYNC_WAIT_UPTO |
| 14 |
1 |
| 15 |
WSREP_SYNC_WAIT_UPTO |
| 16 |
1 |
| 17 |
ERROR HY000: Lock wait timeout exceeded; try restarting transaction |
| 18 |
connection node_2; |
| 19 |
connection node_1; |
| 20 |
INSERT INTO t1 VALUES (2); |
| 21 |
connection node_2; |
| 22 |
WSREP_SYNC_WAIT_UPTO |
| 23 |
1 |
| 24 |
connection node_1; |
| 25 |
DROP TABLE t1; |
| 26 |
connection node_2; |
| 27 |
CALL mtr.add_suppression("Ignoring server id .* for non bootstrap node"); |