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.2k stars 490 forks source link

If store number is 0, it is expected to set the volume backup to failed which will not blocked the whole clean schedule #5658

Closed zhongmin-amin closed 3 weeks ago

zhongmin-amin commented 1 month ago

Bug Report

What version of Kubernetes are you using?

What version of TiDB Operator are you using?

What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?

What's the status of the TiDB cluster pods?

What did you do?

  1. do volumebackup, but store number is 0

What did you expect to see?

  1. volumebackup failed

What did you see instead?

  1. volumebackup success