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] [Server] Netty client create too many channel and make busy network #6653

Closed
3 tasks done
Tracked by #6666
caishunfeng opened this issue Nov 1, 2021 · 1 comment · Fixed by #6654
Closed
3 tasks done
Tracked by #6666

[Bug] [Server] Netty client create too many channel and make busy network #6653

caishunfeng opened this issue Nov 1, 2021 · 1 comment · Fixed by #6654
Labels
bug Something isn't working
Milestone

Comments

@caishunfeng
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

version: dev

When after the stress test, I found the busy network between master and worker, but no any log. And then I dump the network package and found many heartbeat report.
c5c20ffb4c6220c43924557b0478fd5

I try to run the test method, which use netty client to send many commands, and the channel created number is equal to the commands number.
When debug, I found that the key of map to manage channels is Host, a Object without override hashcode and equals.

What you expected to happen

Netty client create less channel.

How to reproduce

Run the test method, which use netty client to send many commands.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@caishunfeng caishunfeng added the bug Something isn't working label Nov 1, 2021
@github-actions
Copy link

github-actions bot commented Nov 1, 2021

Hi:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants