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

DDL execute too slow when failed. #47455

Closed
Defined2014 opened this issue Oct 8, 2023 · 0 comments · Fixed by #47461
Closed

DDL execute too slow when failed. #47455

Defined2014 opened this issue Oct 8, 2023 · 0 comments · Fixed by #47461
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@Defined2014
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table t ( obj json, arr json, nil json, t json, f json, i json, ui json, f64 json, str json, nul json );
insert into t values ('{\"obj\": 100}', '[-1, 0, 1]', 'null', 'true', 'false', '20200826173501', '20201123', '20200826173501.123456', '\"2020-08-26 17:35:01.123456\"', null);
alter table t modify obj datetime;

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

return error directly.

3. What did you see instead (Required)

Sleep 1s, then return error.

4. What is your TiDB version? (Required)

+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version()                                                                                                                                                                                                                                                             |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v7.4.0-alpha-483-g9f4792b07c
Edition: Community
Git Commit Hash: 9f4792b07cc7c75f57653f691f3b1f115ff081b8
Git Branch: move-util
UTC Build Time: 2023-09-22 07:21:00
GoVersion: go1.21.0
Race Enabled: false
Check Table Before Drop: true
Store: unistore |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.01 sec)
@Defined2014 Defined2014 added type/bug The issue is confirmed as a bug. component/ddl This issue is related to DDL of TiDB. labels Oct 8, 2023
@Defined2014 Defined2014 changed the title alter table execute too slow when failed. DDL execute too slow when failed. Oct 8, 2023
@Defined2014 Defined2014 self-assigned this Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant