Handling timeouts and network timeouts separately
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
- xxx
- xxx
- 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!
A nice suggestion to me.
@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.
No feedback for a long time, please close the issue temporarily. If there is still a problem, you can reopen it.