planner: enable fix control 52869 by default to let planner consider IndexMerge when an alternative index exists | tidb-test=pr/2753#68920
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThe PR changes Fix52869 default to true for index-merge range-scan validation and makes skylinePruning set preferMerge solely from explicit IndexMergeHints, causing planner selection and CE trace outputs to change across related tests. ChangesIndexMerge Path Optimization Behavior
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/retest |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-8.5 #68920 +/- ##
================================================
Coverage ? 55.8546%
================================================
Files ? 1826
Lines ? 664246
Branches ? 0
================================================
Hits ? 371012
Misses ? 266374
Partials ? 26860
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
IndexMerge when an alternative index existsIndexMerge when an alternative index exists | tidb-test=pr/2753
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qw4990, terry1purcell The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/retest |
Manual cherry-pick of #63701
What problem does this PR solve?
Issue Number: ref #26764
Problem Summary:
Please see the issue and the doc.
We have been advising users to enable this flag for similar scenarios, and received no bad cases or bug reports. As we encounter this situation more and more often, we think it makes sense to enable this flag by default.
What changed and how does it work?
Set the default value to
ONby default, and update the test results.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
Summary by CodeRabbit