Skip to content

br: add foreign key op does not work with PiTR #61642

@Tristan1900

Description

@Tristan1900

Bug Report

Testing locally found that if adding foreign key during log backup, it will automatically add an index. In the PiTR restore process, it will first drop the index and then recreate it. However due to foreign key constraint, the drop index op will fail since violating constraint, causing the pitr to fail

Metadata

Metadata

Assignees

No one assigned

    Labels

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