server/conn: log more detailed errors (#11731)#23400
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
/run-all-tests |
|
@lance6716 you're already a collaborator in bot's repo. |
|
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
|
/lgtm |
|
/lgtm |
|
[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 writing |
|
/run-check_release_note |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 38638f2 |
cherry-pick #11731 to release-3.0
You can switch your code base to this Pull Request by using git-extras:
# In tidb repo: git pr https://github.com/pingcap/tidb/pull/23400After apply modifications, you can push your change to this PR via:
What problem does this PR solve?
Print more message to help investigate an bug: when executed some long-time-costing SQL and encountered timeout error,
idleTimeis relatively small towaitTimeout, e.g.What is changed and how it works?
Print original error
Check List
Tests
Code changes
Side effects
Related changes
Release note