File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed
Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ if (!$kill_signal)
1616--let KILL_NODE_PIDFILE = `SELECT @@pid_file `
1717
1818--perl
19- my $kill_sig = $ENV {'KILL_SIGNAL_VALUE' }
19+ my $kill_sig = $ENV {'KILL_SIGNAL_VALUE' };
2020 my $pid_filename = $ENV {'KILL_NODE_PIDFILE' };
2121 my $mysqld_pid = `cat $pid_filename `;
2222 chomp ($mysqld_pid );
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ SET SESSION wsrep_on=ON;
1616connection node_1;
1717UPDATE t1 SET f2 = 'd' WHERE f1 > 3;
1818connection node_2;
19+ Killing server ...
1920connection node_1;
2021UPDATE t1 SET f2 = 'e' WHERE f1 > 4;
2122connection node_2;
Original file line number Diff line number Diff line change @@ -63,19 +63,7 @@ UPDATE t1 SET f2 = 'd' WHERE f1 > 3;
6363
6464# Kill node #2 while IST is in progress
6565--connection node_2
66-
67- # Kill the connected server
68- --disable_reconnect
69-
70- --perl
71- my $pid_filename = $ENV{'KILL_NODE_PIDFILE'};
72- my $mysqld_pid = `cat $pid_filename`;
73- chomp($mysqld_pid);
74- system("kill -9 $mysqld_pid");
75- exit(0);
76- EOF
77-
78- --source include/wait_until_disconnected.inc
66+ --source include/kill_galera.inc
7967
8068--connection node_1
8169--source include/wait_until_connected_again.inc
You can’t perform that action at this time.
0 commit comments