-
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
server: make call to ReleaseConnID
idempotent.
#45676
server: make call to ReleaseConnID
idempotent.
#45676
Conversation
Signed-off-by: Ping Yu <yuping@pingcap.com>
Hi @pingyu. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/run-e2e-test |
/run-jdbc-test |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #45676 +/- ##
================================================
+ Coverage 73.2198% 73.4308% +0.2110%
================================================
Files 1265 1269 +4
Lines 389829 392851 +3022
================================================
+ Hits 285432 288474 +3042
+ Misses 86089 86079 -10
+ Partials 18308 18298 -10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/test ? |
@purelind: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@purelind: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/test pull-integration-jdbc-test |
@pingyu: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The failure of |
@pingyu: GitHub didn't allow me to request PR reviews from the following users: xuyifangreeneyes. Note that only pingcap members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
PTAL, thanks~ |
/test pull-integration-jdbc-test |
@pingyu: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/check-issue-triage-complete |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: breezewish, tangenta The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
/retest |
1 similar comment
/retest |
What problem does this PR solve?
Issue Number: close #45675
Problem Summary: Failed to release 32bits connection ID
There are two calls to release for every connection ID. So the pool is unexpected full.
What is changed and how it works?
Make release connection ID idempotent by set
clientClient.connectionID
to0
after connection ID is released.The duplicated close connection may need to be fixed later.
But as there are even more calls to
clientConn.Close
andcloseConn
, especially on handling errors, this PR prefer to makecloseConn
idempotent to ensue correctness.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.