-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
planner: add missing table lock check for fast plan (#20948) #21002
planner: add missing table lock check for fast plan (#20948) #21002
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
/run-all-tests |
@ti-srebot merge failed. |
/approve |
/merge |
Your auto merge job has been accepted, waiting for:
|
@ti-srebot merge failed. |
/approve |
/merge |
Your auto merge job has been accepted, waiting for:
|
@ti-srebot merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
cherry-pick #20948 to release-4.0
What problem does this PR solve?
Issue Number: close #20945
Problem Summary:
when lock table as read update with where statement can update the row.
What is changed and how it works?
What's Changed:
Add table lock check in TryFastPlan code path
Related changes
Check List
Tests
Manual test step:
Side effects
Release note