Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

br restore not proceeded from checkpoint and user is prompted to drop system tables #50232

Closed
fubinzh opened this issue Jan 9, 2024 · 1 comment · Fixed by #50629
Closed
Labels
affects-7.5 This bug affects the 7.5.x(LTS) versions. component/br This issue is related to BR of TiDB. severity/major type/bug The issue is confirmed as a bug.

Comments

@fubinzh
Copy link

fubinzh commented Jan 9, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. First br restore failed (exit code 137, might be due to br OOM.)
  2. Run the br restore command again

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

br restore should be proceeded from checkpoint.

3. What did you see instead (Required)

br restore failed due to "cluster is not fresh", user is prompted to drop databases/tables and many system tables are included which could be dangerous to drop.

image

4. What is your TiDB version? (Required)

[root@br-0 tmp]# /br -V                                   
Release Version: v7.6.0                                   
Git Commit Hash: 6701bf1527c7386a82396a1ecfb5322872daa2b3 
Git Branch: heads/refs/tags/v7.6.0                        
Go Version: go1.21.5                                      
UTC Build Time: 2024-01-08 12:55:13                       
Race Enabled: false        
@fubinzh fubinzh added the type/bug The issue is confirmed as a bug. label Jan 9, 2024
@fubinzh
Copy link
Author

fubinzh commented Jan 9, 2024

/component br
/severity major

@Leavrth Leavrth added affects-7.5 This bug affects the 7.5.x(LTS) versions. and removed may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 labels Jan 22, 2024
ti-chi-bot bot pushed a commit that referenced this issue Feb 7, 2024
@Leavrth Leavrth added the affects-7.1 This bug affects the 7.1.x(LTS) versions. label Jul 30, 2024
@Leavrth Leavrth removed the affects-7.1 This bug affects the 7.1.x(LTS) versions. label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 This bug affects the 7.5.x(LTS) versions. component/br This issue is related to BR of TiDB. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants