-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
executor: add rollback in releaseSysSession
#14269
Conversation
/run-all-tests |
Do you know which internal session fails to call commit/rollback? @lysu |
@tiancaiamao for example this line Line 870 in 04617c1
|
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
What's the integration test looks like? Concurrently drop an unknown user? |
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
cherry pick to release-3.0 in PR #14272 |
What problem does this PR solve?
in #11201 we add
releaseSysSession
method to reuse transaction restrict session.but it have potential to release a uncommit session to sessionPool
What is changed and how it works?
force rollback session before release to session pool.
close session directly if session rollback failed.
Check List
Tests
Code changes
Side effects
Related changes
Release note
This change is