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 for system tables takes a long time while upgrade cluster #49679

Closed
aytrack opened this issue Dec 21, 2023 · 0 comments · Fixed by #49629
Closed

add index for system tables takes a long time while upgrade cluster #49679

aytrack opened this issue Dec 21, 2023 · 0 comments · Fixed by #49629
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. type/enhancement

Comments

@aytrack
Copy link
Contributor

aytrack commented Dec 21, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. deploy a v7.5.0 cluster and create a table with 5000 partition
  2. truncate the table
  3. during truncate the table , upgrade cluster to nightly

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

  1. upgrade cluster success

3. What did you see instead (Required)

  1. the system table add index takes a long time led tiup upgrade faied.
  2. you can see the user ddl are paused, but the system table add index takes about 2min.
    img_v3_0269_138ec116-0a84-4889-b066-4799c1332dcg

4. What is your TiDB version? (Required)

v7.5.0

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. type/enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants