| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connection node_2; |
| 4 |
SELECT @@wsrep_slave_threads; |
| 5 |
@@wsrep_slave_threads |
| 6 |
1 |
| 7 |
SET GLOBAL wsrep_slave_threads=2; |
| 8 |
KILL ID; |
| 9 |
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster |
| 10 |
KILL QUERY ID; |
| 11 |
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster |
| 12 |
KILL ID; |
| 13 |
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster |
| 14 |
KILL QUERY ID; |
| 15 |
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster |
| 16 |
SET GLOBAL wsrep_slave_threads=DEFAULT; |
| 17 |
connection node_1; |
| 18 |
create table t1(a int not null primary key) engine=innodb; |
| 19 |
insert into t1 values (1); |
| 20 |
insert into t1 values (2); |
| 21 |
connection node_2; |
| 22 |
# Wait until one of the appliers has exited |
| 23 |
select count(*) from t1; |
| 24 |
count(*) |
| 25 |
2 |
| 26 |
SELECT @@wsrep_slave_threads; |
| 27 |
@@wsrep_slave_threads |
| 28 |
1 |
| 29 |
connection node_1; |
| 30 |
drop table t1; |