-
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
session: fix a bug cause panic when retry is enable. #21285
Conversation
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
Why txn is not valid? Why Where does the code panic? |
LGTM |
PTAL @cfzjywxk |
LGTM |
/merge |
Your auto merge job has been accepted, waiting for:
|
Don't forget to cherry-pick it to master. |
/run-all-tests |
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com
What problem does this PR solve?
Issue Number: close #21284
Problem Summary:
When retry "SET SQL_SELECT_LIMIT=DEFAULT", txn is not valid.
What is changed and how it works?
Open a new transaction when retry.
Related changes
Check List
Tests
Side effects
Release note