Skip to content

tidb bootstrap takes a long time  #48259

@aytrack

Description

@aytrack

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. deploy a cluster with 3 tidb nodes
  2. import data about 25w partitions and 5w tables
  3. restart tidb

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

tidb can restart immediately

3. What did you see instead (Required)

it's takes a long time to bootstrap
图片

tidb-0
图片

tidb-1
图片

tidb-2

图片

4. What is your TiDB version? (Required)

[10:55:48]TiDB root:INFORMATION_SCHEMA> select tidb_version();
+-----------------------------------------------------------+
| tidb_version()                                            |
+-----------------------------------------------------------+
| Release Version: v7.5.0-test                              |
| Edition: Community                                        |
| Git Commit Hash: fa75dbd363128183665c03e06af67ed9066c1d98 |
| Git Branch: heads/refs/tags/v7.5.0-test                   |
| UTC Build Time: 2023-11-02 06:43:24                       |
| GoVersion: go1.21.3                                       |
| Race Enabled: false                                       |
| Check Table Before Drop: false                            |
| Store: tikv

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-7.5This bug affects the 7.5.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.feature/developingthe related feature is in developmentseverity/majortype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions