make sure the session which put into session pool is rollback or commit
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
TiDB shares some internal sessions using a session pool, if a session put into the session pool is still active, it may get an unexpected result when using it next time. We need to make some enhancements to protect the session pool.
Contributor guide
Assessment
This issue has not been assessed yet.