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

[Dubbo - client always reconnect offline provider] Dubbo client bug. #3158

Closed
2 tasks done
zonghaishang opened this issue Jan 7, 2019 · 0 comments
Closed
2 tasks done
Assignees
Labels
type/bug Bugs to being fixed
Milestone

Comments

@zonghaishang
Copy link
Member

zonghaishang commented Jan 7, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.0
  • Operating System version: mac
  • Java version: 1.8

Steps to reproduce this issue

  1. AbstractClient#initConnectStatusCheckCommand set break point at !isConnected().
  2. AbstractClient#close() set break point here.
  3. start client first, start provider and then shutdown provider gracefully , let method AbstractClient.close() be executed. Then select step 1 and trigger the thread to execute !isConnected, here will always try to connect the offline machine.

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps?

When the server goes offline, the client will not reconnect the offline machine.

Actual Result

What actually happens?

The client reconnects the offline machine every 2 seconds and causes a large number of arp packets(because ip is recycled and not available now).

@zonghaishang zonghaishang added the type/bug Bugs to being fixed label Jan 7, 2019
@zonghaishang zonghaishang self-assigned this Jan 7, 2019
@nzomkxia nzomkxia added this to the 2.6.6 milestone Jan 25, 2019
@beiwei30 beiwei30 modified the milestones: 2.6.6, 2.7.1 Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bugs to being fixed
Projects
None yet
Development

No branches or pull requests

3 participants