-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
IT mysqltest delete
failed with the plan changed
#30512
Comments
Can we provide a script to find which commit changed the plan? |
@aytrack please help to review winoros' question above |
This case has not been run before, and it looks like was added by https://github.com/pingcap/tidb-test/pull/1375 to fix #30281. Also, the first failure was found in #30294 |
Neither of these issues seems related. Also further looking at the plan differences, both plan should have little actual performance differences, one tablescan 3 rows, the other indexscan (only) 3 rows. |
@qw4990 please help to check if there is any potential issue/improvement from the costing side. |
This test works in the latest tested tidb repo commit c2279ce / ci.
But it fails in the integration-common-test ci Looking into how to make it more stable/passing both tests. |
The root cause is that the column sizes under TiKV and UniStore are different, so their costs are different:
Seems weird, I'm still investigating... |
A minimal reproducible case for this:
And the results are different between Unistore and TiKV:
The |
I create a separate issue for this problem(#31744) and I'll comment related tests to make our tests stable and fix them thoroughly later. |
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)
in ci https://ci.pingcap.net/blue/organizations/jenkins/tikv_ghpr_integration_common_test/detail/tikv_ghpr_integration_common_test/3248/pipeline
the case is
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: