planner: forbid point get with select lock choose tiflash as datasource path#39388
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
| RejectSort bool | ||
|
|
||
| // InLock indicates the Plan is under LogicalLock | ||
| InLock bool |
There was a problem hiding this comment.
Why do we need it in physical property? Is there any other better place?
There was a problem hiding this comment.
updated, use isUpdateRead instead
winoros
left a comment
There was a problem hiding this comment.
We can do this just in the plan builder?
Signed-off-by: yisaer <disxiaofei@163.com> address the comment Signed-off-by: yisaer <disxiaofei@163.com>
I tended to check it during |
| checkMpp(rs) | ||
| } | ||
|
|
||
| func TestPointGetWithSelectLock(t *testing.T) { |
There was a problem hiding this comment.
Not just a test for a primary key, a test for a unique key is also necessary.
|
/run-unit-test |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 38e1593 |
|
@gengliqi: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 9f5d8cd |
TiDB MergeCI notify✅ Well Done! New fixed [1] after this pr merged.
|
What problem does this PR solve?
Issue Number: close #39344
Problem Summary:
What is changed and how it works?
forbid point get with select lock choose tiflash as datasource path
Check List
Tests
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.