apache / dubbo-go

Go Implementation For Apache Dubbo .
https://dubbo.apache.org/
Apache License 2.0
4.73k stars 929 forks source link

The consumer Config retry is not right #982

Closed georgehao closed 3 years ago

georgehao commented 3 years ago

What happened: The retry of consumer is 3, but invoke the failoverCluster the real retry is 1

image

image

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

cityiron commented 3 years ago

getRetries:

        if retries > len(invokers) {
        retries = len(invokers)
    }

pls check your invokers count.