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

refine prefer-range-scan behavior #27228

Closed
Tracked by #26020
tisonkun opened this issue Aug 15, 2021 · 1 comment · Fixed by #27123
Closed
Tracked by #26020

refine prefer-range-scan behavior #27228

tisonkun opened this issue Aug 15, 2021 · 1 comment · Fixed by #27123
Assignees

Comments

@tisonkun
Copy link
Contributor

tisonkun commented Aug 15, 2021

Before, prefer-range-scan only removes the first full scan path if some range scan path exists. After the PR, prefer-range-scan removes all the full scan paths if some range scan path exists (TiFlash path or hint-indicated path will not be removed).
Also, it's a session only variable, cannot to be used as workaround since the workload may be ORM or other cases that a global variable is needed.

@tisonkun
Copy link
Contributor Author

@xuyifangreeneyes you can describe what to refine here or ask for update the title. I'd prefer an expressive title instead of "refine" or "improve" xxx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants