supercocoa opened a new issue #9278:
URL: https://github.com/apache/dubbo/issues/9278


   
   
   ### Environment
   
   * Dubbo version: 2.7.x  3.x
   * Operating System version: any
   * Java version: any
   
   ### Steps to reproduce this issue
   
   1. 关掉zk
   2. providder断点停住,模拟服务hang住或宕机的死连接情况
   3. consummer到时触发ReconnectTimerTask
   4. ReconnectTimerTask里判断连接可用,然后走到else触发超时重连逻辑
   5. 
超时重连的reconnect的实现里面又去判断跟step4一样的连接可用逻辑,导致没有去强制重连,等于这个reconnect里的逻辑实际无法生效,即没有在需要重连的时候去强制重连,最终导致死连接的服务没有被摘流,consermer一直往死连接的服务发请求
   
![Xnip2021-11-15_20-31-54](https://user-images.githubusercontent.com/1468623/141785451-4e9e181c-dd05-427a-a39a-e207f6a2f643.jpg)
   
   
![Xnip2021-11-15_20-49-37](https://user-images.githubusercontent.com/1468623/141785485-1a91dbf5-0bce-4ddb-ac1c-3f3c6fdc5020.jpg)
   
   
   ### Expected Behavior
   
   死连接情况,心跳超时重连的时候需要强制重连
   
   ### Actual Behavior
   
   死连接情况,心跳超时重连的时候实际没有去重连
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to