Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not disconnect if drop resource groups #54453

Closed
Tracked by #54434
nolouch opened this issue Jul 4, 2024 · 1 comment · Fixed by #54621
Closed
Tracked by #54434

Do not disconnect if drop resource groups #54453

nolouch opened this issue Jul 4, 2024 · 1 comment · Fixed by #54621

Comments

@nolouch
Copy link
Member

nolouch commented Jul 4, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. run workload like sysbench

  2. drop the resource group which is used by sysbench

mysql> ALTER USER 'user1' RESOURCE GROUP default;
Query OK, 0 rows affected (0.06 sec)

mysql> select * from information_schema.resource_groups;
+---------+------------+----------+-----------+-------------+------------+
| NAME    | RU_PER_SEC | PRIORITY | BURSTABLE | QUERY_LIMIT | BACKGROUND |
+---------+------------+----------+-----------+-------------+------------+
| default | UNLIMITED  | MEDIUM   | YES       | NULL        | NULL       |
| rg1     | 100000000  | HIGH     | NO        | NULL        | NULL       |
+---------+------------+----------+-----------+-------------+------------+
2 rows in set (0.06 sec)

mysql> DROP resource group rg1;
Query OK, 0 rows affected (0.56 sec)

2. What did you expect to see? (Required)

sysbench no disconnect

3. What did you see instead (Required)

image

4. What is your TiDB version? (Required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants