-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
tidb_analyze_version default value is different when upgrade from 4.x and 5.x #25422
Comments
We want the old cluster to keep the original statistics behavior and the new cluster to use the new one. Wait for 1 sprint or 2 to use the new statistics for all clusters by default. |
What is the influence for users between versions 1 and 2? Is the expected behavior version 1 when upgrading from 4.0.13 to 5.1.0? |
/assign xuyifangreeneyes |
/unassign winoros |
#28352 describes the same problem. |
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
upgrade from 4.0.13 to 5.1.0, tidb_analyze_version=2 after upgrade;
upgrade from 5.0.2 to 5.1.0, tidb_analyze_version=1 after upgrade;
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
| Release Version: v5.1.0-20210611
Edition: Community
Git Commit Hash: 29bfbb2
Git Branch: heads/refs/tags/v5.1.0-20210611
UTC Build Time: 2021-06-11 07:52:09
GoVersion: go1.16.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
The text was updated successfully, but these errors were encountered: