Skip to content

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

@aytrack

Description

@aytrack

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

Metadata

Metadata

Assignees

Labels

component/ddlThis issue is related to DDL of TiDB.type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions