Skip to content

br: pitr doesn't support system restore yet #60201

Closed

Description

@Tristan1900

Bug Report

The latest change enables pitr to restore system tables where previously it was not, but later we found it's not possible to do pitr restore system table since during snapshot restore it's using REPLACE INTO to inject the data into system table. This operation will change the row id of the system table and messed up with log backup row id unless we have a way to override the log backup. It can potentially cause system table consistency issue.

Impact master branch and 9.0.0 pitr with system tables.

Activity

  1. added a commit that references this issue on Mar 21, 2025
    fc0ed72
  2. added a commit that references this issue on Mar 21, 2025
    0d74a99
  3. added a commit that references this issue on Mar 27, 2025
    1822234
  4. added a commit that references this issue on May 6, 2025
    cb22f8a
  5. added 2 commits that reference this issue on Jun 4, 2025
    c6ec7da
    1348c36
  6. added a commit that references this issue on Dec 1, 2025
    99c0427
  7. added a commit that references this issue on Dec 9, 2025
    d8d8aa2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-9.0This bug affects the 9.0.x 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