-
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
found the goroutine leak in tikv client #20654
Comments
@leoppro would you like file a PR? |
@tiancaiamao could help to take a look at this. |
@MyonKeminta will help to verify if the leak still exist in master and the release branch. |
The leak is found caused by not closing the etcd client in |
Please edit this comment to complete the following informationBugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA) (optional)The issue is caused by not closing the etcd client in 2. Symptom (optional)goroutine leak after closing tikv client. 3. All Trigger Conditions (optional)Closing a tikv client. 4. Workaround (optional)- 5. Affected versions[v2.0.0:v2.0.11], [v3.0.0:v3.0.19], [v3.1.0:v3.1.2], [v4.0.0:v4.0.8] 6. Fixed versionsv3.0.20, v4.0.9 |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
run this code, and you can find the goroutine leak
2. What did you expect to see? (Required)
no goroutine leak
3. What did you see instead (Required)
goroutine leak
4. What is your TiDB version? (Required)
github.com/pingcap/tidb v1.1.0-beta.0.20200921080130-30cfb6af225c
The text was updated successfully, but these errors were encountered: