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

config: enforce-mpp config item is useless in v5.0.4 #29252

Closed
LittleFall opened this issue Oct 29, 2021 · 3 comments
Closed

config: enforce-mpp config item is useless in v5.0.4 #29252

LittleFall opened this issue Oct 29, 2021 · 3 comments
Labels
affects-5.0 This bug affects 5.0.x versions. component/tiflash severity/moderate type/bug The issue is confirmed as a bug.

Comments

@LittleFall
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

set config:

[performance]
enforce-mpp=true

start tidb 5.0.4+

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

mysql> explain select a+1 from t;
+-------------------------+---------+-----------+---------------+--------------------------------+
| id                      | estRows | task      | access object | operator info                  |
+-------------------------+---------+-----------+---------------+--------------------------------+
| Projection_3            | 2.00    | root      |               | plus(test.t.a, 1)->Column#3    |
| └─TableReader_5         | 2.00    | root      |               | data:TableFullScan_4           |
|   └─TableFullScan_4     | 2.00    | cop[tikv] | table:t       | keep order:false, stats:pseudo |
+-------------------------+---------+-----------+---------------+--------------------------------+
3 rows in set, 1 warning (0.00 sec)

mysql> show warnings;
+---------+------+-----------------------------------------------------------------------------+
| Level   | Code | Message                                                                     |
+---------+------+-----------------------------------------------------------------------------+
| Warning | 1105 | MPP mode may be blocked because there aren't tiflash replicas of table `t`. |
+---------+------+-----------------------------------------------------------------------------+
1 row in set (0.00 sec)

3. What did you see instead (Required)

no warning.

4. What is your TiDB version? (Required)

v5.0.4

@LittleFall LittleFall added the type/bug The issue is confirmed as a bug. label Oct 29, 2021
@LittleFall
Copy link
Contributor Author

it only effects v5.0.4.

v5.0.3 doesn't have enforce-mpp.

v5.1+ has a different config/variable framework, and this config is available.

@dveeden
Copy link
Contributor

dveeden commented Nov 2, 2021

/retitle config: enforce-mpp config item is useless in v5.0.4

@ti-chi-bot ti-chi-bot changed the title config: enforce-mpp config item is uesless in v5.0.4 config: enforce-mpp config item is useless in v5.0.4 Nov 2, 2021
@XuHuaiyu XuHuaiyu added the affects-5.0 This bug affects 5.0.x versions. label Dec 16, 2021
@github-actions
Copy link

Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-5.0 This bug affects 5.0.x versions. component/tiflash severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

5 participants