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

[Bug][SDK] Panic in connpool.UpdateEndpoints() of Golang SDK #10292

Closed
2 tasks done
gunli opened this issue May 28, 2024 · 0 comments · Fixed by #10295
Closed
2 tasks done

[Bug][SDK] Panic in connpool.UpdateEndpoints() of Golang SDK #10292

gunli opened this issue May 28, 2024 · 0 comments · Fixed by #10295
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@gunli
Copy link
Contributor

gunli commented May 28, 2024

What happened

When server close the connection actively, connpool.UpdateEndpoints() will panic sometimes.

What you expected to happen

No panics eventhough the server close the connections actively.

How to reproduce

  1. init a dataproxy.Client and make connecitons to the server;
  2. at the server side, close the connection actively or close the server.

Environment

No response

InLong version

master

InLong Component

InLong SDK

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants