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

add index disttask not canceled when owner change #49114

Closed
ywqzzy opened this issue Dec 4, 2023 · 4 comments
Closed

add index disttask not canceled when owner change #49114

ywqzzy opened this issue Dec 4, 2023 · 4 comments
Labels
component/ddl This issue is related to DDL of TiDB. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 severity/major type/bug The issue is confirmed as a bug.

Comments

@ywqzzy
Copy link
Contributor

ywqzzy commented Dec 4, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. tidb1 start add index.
  2. owner change to tidb2.
  3. tidb2 receive admin cancel add index command.
  4. add index ddl job canceled, but dist task not canceled.
  5. then dist task running forever.
    img_v3_025q_23f951d4-8b06-47fa-9711-07a5a8a4d21g

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

dist task canceled.

3. What did you see instead (Required)

dist task keep retrying.

4. What is your TiDB version? (Required)

@ywqzzy ywqzzy added the type/bug The issue is confirmed as a bug. label Dec 4, 2023
@seiya-annie seiya-annie added component/ddl This issue is related to DDL of TiDB. severity/critical labels Dec 5, 2023
@ywqzzy
Copy link
Contributor Author

ywqzzy commented Dec 25, 2023

Can work around with change the related row in mysql.tidb_global_task table.

@ywqzzy
Copy link
Contributor Author

ywqzzy commented Dec 25, 2023

/severity major

@ywqzzy
Copy link
Contributor Author

ywqzzy commented Dec 25, 2023

/remove-severity critical

@ywqzzy
Copy link
Contributor Author

ywqzzy commented Jan 5, 2024

#49971 may fix this issue, lost log, will reopen it when meet it again.

@ywqzzy ywqzzy closed this as completed Jan 5, 2024
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. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants