You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/16 14:53:04 UTC

[GitHub] freeseawind opened a new issue #2511: 集群 Failfast 配置问题

freeseawind opened a new issue #2511: 集群 Failfast 配置问题
URL: https://github.com/apache/incubator-dubbo/issues/2511
 
 
   - [ ] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate.
   - [ ] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 2.6.2
   * Operating System version: win7
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1. 启动两个服务提供者
   2. 对其中一个服务提供者设置断点使其不响应客户端
   3. 启动服务消费者消费服务
   
   #### 服务消费者代码
   
   ```
   @Reference(loadbalance = "random", cluster = "failfast", retries = 2)
   private DemoService failFastService;
   
   @Test
    public void testFail()
    {
          String str = failFastService.sayHello("freeseawind");
           System.out.println(str);
    }
   ```
   ##### 服务提供者示例截图
   
   ![image](https://user-images.githubusercontent.com/19760912/45597745-2f895e00-ba03-11e8-8b06-35bfb99570c7.png)
   
   
   问题重现工程地址:https://github.com/freeseawind/copycat-dubbo
   
   ### Expected Result
   
   调用失败后立即结束
   
   ### Actual Result
   
   随机重试了服务消费者
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org