mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
Test changes only. Add wait_condition so that all nodes are in the expected state and add debug output if issue does reproduce. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
36 lines
943 B
Plaintext
36 lines
943 B
Plaintext
connection node_2;
|
|
connection node_1;
|
|
connection node_1;
|
|
connection node_2;
|
|
connection node_3;
|
|
connection node_1;
|
|
SET GLOBAL wsrep_provider_options = 'evs.inactive_timeout=PT100M; evs.suspect_timeout=PT1S';
|
|
connection node_2;
|
|
SET GLOBAL wsrep_provider_options = 'evs.inactive_timeout=PT100M; evs.suspect_timeout=PT1S';
|
|
connection node_3;
|
|
connection node_3;
|
|
Suspending node ...
|
|
connection node_1;
|
|
SET SESSION wsrep_sync_wait=0;
|
|
connection node_2;
|
|
SET SESSION wsrep_sync_wait=0;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INTEGER) engine=InnoDB;
|
|
INSERT INTO t1 VALUES (1);
|
|
connection node_2;
|
|
SET SESSION wsrep_sync_wait = 15;
|
|
SELECT COUNT(*) FROM t1;
|
|
COUNT(*)
|
|
1
|
|
connection node_3;
|
|
Resuming node ...
|
|
CALL mtr.add_suppression("WSREP: gcs_caused");
|
|
CALL mtr.add_suppression("WSREP: gcs/src/gcs_core\\.cpp:core_handle_uuid_msg");
|
|
SET SESSION wsrep_sync_wait = 15;
|
|
SELECT COUNT(*) FROM t1;
|
|
COUNT(*)
|
|
1
|
|
connection node_1;
|
|
connection node_2;
|
|
DROP TABLE t1;
|