You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
prepare data
use test;
create table t (id int auto_increment, k int,c varchar(255), unique index(id));
insert into t (k,c) values (1,'abcqwer');
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
insert into t (k,c) select k,c from t;
split table t between (0) and (135536) regions 100;
create table t2 (id int auto_increment, k int,c varchar(255), unique index(id));
insert into t2 (k,c) values (1,'abcqwer');
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
insert into t2 (k,c) select k,c from t2;
split table t2 between (0) and (135536) regions 100;
add resource group
create user IF NOT EXISTS rg1;
GRANT ALL PRIVILEGES ON *.* TO rg1;
CREATE RESOURCE GROUP IF NOT EXISTS rg1 RU_PER_SEC = 1000 QUERY_LIMIT=(EXEC_ELAPSED '1ms' ACTION COOLDOWN WATCH = PLAN);
ALTER USER rg1 RESOURCE GROUP rg1;
nolouch
changed the title
query may block after identified runaway query with cooldown action
The query may block after identifying a runaway query with a cooldown action.
Oct 28, 2024
nolouch
changed the title
The query may block after identifying a runaway query with a cooldown action.
The query may blocking after identifying a runaway query with a cooldown action.
Oct 28, 2024
nolouch
changed the title
The query may blocking after identifying a runaway query with a cooldown action.
The query may be blocking after identifying a runaway query with a cooldown action.
Oct 28, 2024
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
prepare data
add resource group
run twice SQL with user
rg1
:2. What did you expect to see? (Required)
SQL can run
3. What did you see instead (Required)
SQL blocking forever
4. What is your TiDB version? (Required)
8.4
The text was updated successfully, but these errors were encountered: