Skip to content

cannot restore the metakv when there are only write cf files #46578

@Leavrth

Description

@Leavrth

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. start log backup
    2.create table test.t(id int);
  2. insert into test.t values (1)
  3. do snapshot backup
  4. insert into test.t with 30000 rows
  5. restore to another cluster

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

the next_rowid shoule be 60001, and there are 30002 rows in the table test.t.

3. What did you see instead (Required)

the next_rowid is 30001, and there are 30002 rows in the table test.t.

4. What is your TiDB version? (Required)

master

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.component/brThis issue is related to BR of TiDB.severity/majortype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions