pingcap / tidb-operator

TiDB operator creates and manages TiDB clusters running in Kubernetes.
https://docs.pingcap.com/tidb-in-kubernetes/
Apache License 2.0
1.24k stars 499 forks source link

Volume restore takes a long time [restore for 5089] #5784

Open ti-chi-bot opened 1 month ago

ti-chi-bot commented 1 month ago

Bug Report

What version of Kubernetes are you using?

What version of TiDB Operator are you using? wangle1321/tidb-operator:202305261650

What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods? gp3(4000 iops 287 throughput)

What's the status of the TiDB cluster pods? normal

What did you do?

  1. create cluster(cross k8s)
  2. do volume backup(6 TiKVs, 6T disks, each with a data volume of approximately 1.2T)
  3. do volume restore

What did you expect to see?

  1. restore will cost about half an hour

What did you see instead?

  1. it cost about 2.5 hours
  2. image

ti-chi-bot commented 1 month ago

This issue is restored for #5089, it originally created at 2023-06-21 02:58:23.