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

tidb: client stuck when create table in metrics_schema #35205

Closed
D3Hunter opened this issue Jun 7, 2022 · 1 comment · Fixed by #35260
Closed

tidb: client stuck when create table in metrics_schema #35205

D3Hunter opened this issue Jun 7, 2022 · 1 comment · Fixed by #35260
Assignees
Labels
affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.0 affects-6.1 severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@D3Hunter
Copy link
Contributor

D3Hunter commented Jun 7, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

use metrics_schema;
create table t(id int);
mysql> mysql> kill 7139;
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql>
mysql>
mysql> show processlist;
+------+------+-----------------+----------------+---------+------+------------+------------------------+
| Id   | User | Host            | db             | Command | Time | State      | Info                   |
+------+------+-----------------+----------------+---------+------+------------+------------------------+
| 7141 | root | 127.0.0.1:53157 | NULL           | Query   |    0 | autocommit | show processlist       |
| 7139 | root | 127.0.0.1:53044 | metrics_schema | Query   |  489 | autocommit | create table t(id int) |
+------+------+-----------------+----------------+---------+------+------------+------------------------+
2 rows in set (0.00 sec)

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

success if tidb permit it, or fail

3. What did you see instead (Required)

stuck, and cannot be killed

4. What is your TiDB version? (Required)

tiup playground v5.4.0 --host 0.0.0.0 --without-monitor --tiflash 0

@D3Hunter D3Hunter added the type/bug The issue is confirmed as a bug. label Jun 7, 2022
@D3Hunter D3Hunter changed the title client stuck when create table in metrics_schema tidb: client stuck when create table in metrics_schema Jun 7, 2022
@D3Hunter
Copy link
Contributor Author

D3Hunter commented Jun 7, 2022

client stuck too when create table in PERFORMANCE_SCHEMA

@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. labels Jun 8, 2022
@ChenPeng2013 ChenPeng2013 added affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. labels Jun 8, 2022
@ti-chi-bot ti-chi-bot removed may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. labels Jun 8, 2022
@tangenta tangenta self-assigned this Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.0 affects-6.1 severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants