pingcap / pingcap/tidb-operator

Deleting volume backup during its running can cause snapshot leakage [restore for 5087]

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

@BornChanger is already working on this.

Since Oct 25, 2024.

area/ebs-br
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?
wangle1321/tidb-operator:202305261650

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

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

What did you do?

  1. create cluster(cross k8s)
  2. create volume backup
  3. delete volume backup when it is running status

What did you expect to see?

  1. bucket is deleted
  2. snapshot is deleted

What did you see instead?

  1. snapshot is not be deleted
  2. there is only 2 volume backup(each has 6 2T snapshot,total 12 2T snapshot), but has more than 12 snapshot in aws account
    image
    image

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.