Skip to content
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

potential goroutine leak when kill connection #13050

Closed
SunRunAway opened this issue Oct 31, 2019 · 0 comments · Fixed by #13051
Closed

potential goroutine leak when kill connection #13050

SunRunAway opened this issue Oct 31, 2019 · 0 comments · Fixed by #13051
Labels
type/bug The issue is confirmed as a bug.

Comments

@SunRunAway
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.

In https://github.com/pingcap/tidb/blob/7bfa896/server/conn.go#L1152-L1155, result set is not closed when the connection is released.

  1. What did you expect to see?

  2. What did you see instead?

  3. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?

7bfa896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
1 participant