pingcap / pingcap/tidb-operator

it is recommended to check the number of tikv volumes when restoring [restore for 5287]

Open
#5,803 1 comment 0 reactions 1 assignee View on GitHub

@BornChanger is already working on this.

Since Oct 25, 2024.

area/ebs-br type/bug
Dominant language
Go
Stars
1.3k
Forks
540
Avg merge
3d 2h
Merged PRs (30d)
18

Description

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. create a cluster with 3 tikvs,each tikv has 1 volume
  2. do volumebackup
  3. do volumerestore, restore cluster also has 3 tikvs, but tikv has 4 volumes

What did you expect to see?

  1. there is a precheck when user do volumerestore

What did you see instead?

  1. there is no precheck when user do volumerestore, and warmup pod can not be started, user can not see error message in volumerestore/restore crd, the volumerestore/restore status is running
  2. the error message only can be see in operator log
    img_v2_0fc88be2-c9fe-4212-93d2-8a0bea49ab3g

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.