mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
24 lines
579 B
Text
24 lines
579 B
Text
connection node_2;
|
|
connection node_1;
|
|
connection node_1;
|
|
connection node_2;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
|
|
connection node_2;
|
|
disconnect node_2;
|
|
connection node_1;
|
|
Suspending node_2 ...
|
|
SET SESSION wsrep_sync_wait = 0;
|
|
SET SESSION wsrep_sync_wait = 15;
|
|
INSERT INTO t1 VALUES (1);
|
|
Got one of the listed errors
|
|
Resuming node_2 ...
|
|
SET SESSION wsrep_sync_wait = 0;
|
|
INSERT INTO t1 VALUES (1);
|
|
connection node_2a;
|
|
SET SESSION wsrep_sync_wait = 0;
|
|
SELECT COUNT(*) = 1 FROM t1;
|
|
COUNT(*) = 1
|
|
1
|
|
SET SESSION wsrep_sync_wait = 15;
|
|
DROP TABLE t1;
|