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

Restore: use sql restore will change the global config of TiDB. #20037

Closed
3pointer opened this issue Sep 16, 2020 · 2 comments · Fixed by pingcap/br#509
Closed

Restore: use sql restore will change the global config of TiDB. #20037

3pointer opened this issue Sep 16, 2020 · 2 comments · Fixed by pingcap/br#509
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/major sig/sql-infra SIG: SQL Infra

Comments

@3pointer
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Restore data via SQL.

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

The config alter-pk won't change.
屏幕快照 2020-09-16 下午5 48 34

3. What did you see instead (Required)

it changed.
屏幕快照 2020-09-16 下午5 49 09

4. What is your TiDB version? (Required)

Release Version: v4.0.5
Edition: Community
Git Commit Hash: 9c1c21270001a0084dcb5d842c50e1fbea5d1fa8
Git Branch: heads/refs/tags/v4.0.5
UTC Build Time: 2020-08-28 10:07:42
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false 
@zimulala
Copy link
Contributor

@3pointer
Is there any reason?
The reason for not doing this at that time was to discuss with several departments, considering that it is best not to modify this variable at will.

@zimulala zimulala added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Sep 17, 2020
@wjhuang2016 wjhuang2016 removed the type/bug The issue is confirmed as a bug. label Nov 4, 2020
@wjhuang2016
Copy link
Member

It's a BR problem and it had been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/major sig/sql-infra SIG: SQL Infra
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants