File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1
1
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
2
2
INSERT INTO t1 VALUES (1);
3
3
Killing server ...
4
+ SET SESSION wsrep_sync_wait = 0;
5
+ SET SESSION wsrep_sync_wait = DEFAULT;
4
6
SELECT COUNT(*) = 1 FROM t1;
5
7
COUNT(*) = 1
6
8
1
Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ INSERT INTO t1 VALUES (1);
11
11
12
12
--connection node_2
13
13
--source include/kill_galera.inc
14
+
15
+ --connection node_1
16
+ SET SESSION wsrep_sync_wait = 0;
17
+ --let $wait_condition = SELECT VARIABLE_VALUE = 'non-Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status'
18
+ --source include/wait_condition.inc
19
+ SET SESSION wsrep_sync_wait = DEFAULT;
20
+
21
+ --connection node_2
14
22
--source include/start_mysqld.inc
15
23
16
24
--let $galera_connection_name = node_2a
You can’t perform that action at this time.
0 commit comments