mirror of
https://github.com/MariaDB/server.git
synced 2025-02-09 23:24:11 +01:00
![Marko Mäkelä](/assets/img/avatar_default.png)
New error codes can only be added in the latest major version.
Adding ER_KILL_DENIED_HIGH_PRIORITY would shift by one all
error codes that were added in MariaDB Server 10.6 or later.
This amends commit 1001dae186
Suggested by: Sergei Golubchik
30 lines
1 KiB
Text
30 lines
1 KiB
Text
connection node_2;
|
|
connection node_1;
|
|
connection node_2;
|
|
SELECT @@wsrep_slave_threads;
|
|
@@wsrep_slave_threads
|
|
1
|
|
SET GLOBAL wsrep_slave_threads=2;
|
|
KILL ID;
|
|
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster
|
|
KILL QUERY ID;
|
|
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster
|
|
KILL ID;
|
|
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster
|
|
KILL QUERY ID;
|
|
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster
|
|
SET GLOBAL wsrep_slave_threads=DEFAULT;
|
|
connection node_1;
|
|
create table t1(a int not null primary key) engine=innodb;
|
|
insert into t1 values (1);
|
|
insert into t1 values (2);
|
|
connection node_2;
|
|
# Wait until one of the appliers has exited
|
|
select count(*) from t1;
|
|
count(*)
|
|
2
|
|
SELECT @@wsrep_slave_threads;
|
|
@@wsrep_slave_threads
|
|
1
|
|
connection node_1;
|
|
drop table t1;
|