dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Handling timeouts and network timeouts separately

Open slolitor opened this issue 7 years ago • 3 comments

There is a difference between timeout and network timeout. In FailoverClusterInvoker, whether it is timeout or network timeout, it is ignored. If it is a business timeout, then two retry attempts will cause an avalanche effect. In FailfastClusterInvoker, there is no fault tolerance for network timeouts. If it is a network partition, the SLA will inevitably fall. I think the implementation of these two Invokers must include the processing of the network timeout, otherwise the implementation is not correct.

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

Environment

  • Dubbo version: 2.6.5
  • Operating System version: centos 7.2
  • Java version: 1.8

Steps to reproduce this issue

  1. xxx
  2. xxx
  3. xxx

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

Expected Result

What do you expected from the above steps?

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!

slolitor avatar Dec 26 '18 03:12 slolitor

A nice suggestion to me.

lexburner avatar Dec 28 '18 12:12 lexburner

@HouZhiHouJue I think you are right. I posted another issue which looks similar to your one. the dubbo has provided the upper user the exact error code for different failing reasons. you can go there and check if there is the one you are looking forward to. issue regards.

Kiddinglife avatar Jan 16 '19 12:01 Kiddinglife

No feedback for a long time, please close the issue temporarily. If there is still a problem, you can reopen it.

CrazyHZM avatar Oct 10 '21 15:10 CrazyHZM