Hi Stoneapple, First of all, pls. try to use English to communicate with the whole community, or consider bilingual descriptions.
For this particular question, yes, I agree this is a bug. The default value for reties in @Reference should not be 0, instead, it should be consistent with Constants#DEFAULT_RETRIES. I have filed one issue [1] to track it. Thanks, -Ian. 1. https://github.com/apache/incubator-dubbo/issues/2162 On Wed, Aug 1, 2018 at 2:41 PM stoneapple1122 <[email protected]> wrote: > > 你好,dubbo的注解中@reference设置为0为什么不生效,具体的场景是提供方如果设置了retries为1,但是消费方设置为0,这时候最终还是1,跟踪代码后发现组装reference对象的时候,如果属性值和默认值是一样的,这个属性相当于没有设置 > 请问这个设计的初衷的是什么?我提到的问题应该怎么解决呢?这是个bug么? > > > > > >
