tidb icon indicating copy to clipboard operation
tidb copied to clipboard

inject tikv failure, pitr has inconsistent results

Open apollodafoni opened this issue 7 months ago • 5 comments

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. start pitr with table filter
  2. inject tikv pod failure 10min. duiring this failure, pitr would fail
  3. restart pitr
  4. pitr could success but data was inconsistent.

backup log has these operations:

  1. create table index_Data2_v2
  2. drop table index_Data2
  3. rename table index_Data2_v2 to index_Data2

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

no table index_Data2_v2

3. What did you see instead (Required)

table index_Data2_v2 in restore mode

Image

4. What is your TiDB version? (Required)

Release Version: v9.0.0-beta.1.pre-869-g2bd1417 Edition: Community Git Commit Hash: 2bd14176d4aa185f2b6f88cb506b4b8cc754a18d Git Branch: HEAD UTC Build Time: 2025-06-04 07:10:25 GoVersion: go1.23.9 Race Enabled: false Check Table Before Drop: false Store: tikv Kernel Type: Classic

apollodafoni avatar Jun 05 '25 09:06 apollodafoni

/severity major /assign @River2000i

apollodafoni avatar Jun 05 '25 09:06 apollodafoni

@apollodafoni: GitHub didn't allow me to assign the following users: River2000i.

Note that only pingcap members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. For more information please see the contributor guide

In response to this:

/severity major /assign @River2000i

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

ti-chi-bot[bot] avatar Jun 05 '25 09:06 ti-chi-bot[bot]

/component ddl

apollodafoni avatar Jun 05 '25 09:06 apollodafoni

/assign @Leavrth

apollodafoni avatar Jun 18 '25 08:06 apollodafoni

fixed

apollodafoni avatar Jun 18 '25 08:06 apollodafoni

/remove-component ddl /component br

apollodafoni avatar Jul 02 '25 07:07 apollodafoni

@apollodafoni: These labels are not set on the issue: component/ddl.

In response to this:

/remove-component ddl /component br

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

ti-chi-bot[bot] avatar Jul 02 '25 07:07 ti-chi-bot[bot]

@apollodafoni: These labels are not set on the issue: component/ddl.

In response to this:

/remove-component ddl /component ddl

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

ti-chi-bot[bot] avatar Jul 02 '25 07:07 ti-chi-bot[bot]

/remove-component ddl

apollodafoni avatar Jul 02 '25 07:07 apollodafoni