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

upgrade tidb cluster, the default of tidb_cost_model_version is unreasonable #39524

Closed
ChenPeng2013 opened this issue Dec 1, 2022 · 0 comments · Fixed by #39537
Closed

upgrade tidb cluster, the default of tidb_cost_model_version is unreasonable #39524

ChenPeng2013 opened this issue Dec 1, 2022 · 0 comments · Fixed by #39537
Assignees
Labels
epic/cost-model the optimizer cost model feature/developing the related feature is in development severity/major sig/planner SIG: Planner type/bug The issue is confirmed as a bug.

Comments

@ChenPeng2013
Copy link
Contributor

ChenPeng2013 commented Dec 1, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

upgrade tidb cluster from 6.0.0 to nightly

tiup cluster deploy cp-test v6.0.0  topology.yaml
tiup cluster upgrade cp-test nightly

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

MySQL [test]> select @@tidb_cost_model_version;
+---------------------------+
| @@tidb_cost_model_version |
+---------------------------+
| 1                         |
+---------------------------+
1 row in set (0.00 sec)

3. What did you see instead (Required)

MySQL [test]> select @@tidb_cost_model_version;
+---------------------------+
| @@tidb_cost_model_version |
+---------------------------+
| 2                         |
+---------------------------+
1 row in set (0.00 sec)

4. What is your TiDB version? (Required)

| Release Version: v6.5.0-alpha
Edition: Community
Git Commit Hash: 30a84140e597e9eafca6aa64edb752e0518f0f5e
Git Branch: heads/refs/tags/v6.5.0-alpha
UTC Build Time: 2022-11-30 14:34:05
GoVersion: go1.19.3
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: tikv |
@ChenPeng2013 ChenPeng2013 added type/bug The issue is confirmed as a bug. sig/planner SIG: Planner severity/major feature/developing the related feature is in development labels Dec 1, 2022
@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 labels Dec 1, 2022
@ChenPeng2013 ChenPeng2013 removed may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 labels Dec 1, 2022
@qw4990 qw4990 added the epic/cost-model the optimizer cost model label Dec 1, 2022
@qw4990 qw4990 self-assigned this Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic/cost-model the optimizer cost model feature/developing the related feature is in development severity/major sig/planner SIG: Planner type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants