<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.6</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>消费端配置：dubbo.consumer.cluster = failfast</li>
<li>启动项目，debug发现使用了failover</li>
<li>但是打印出的日志却是failfast</li>
<li>换回2.7.5，初始化时用的是 FailfastCluster，调用正常，但是2.7.6，初始化的是FailoverCluster</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">不进行重试</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">重试了2次</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<p dir="auto"><code class="notranslate">[DUBBO] Notify urls for subscribe url consumer://10.1.64.48/com.xxx.remote.crm.service.warn.xxx?application=ai-api-web&amp;category=providers,configurators,routers&amp;check=false&amp;cluster=failfast&amp;dubbo=2.0.2&amp;init=false&amp;interface=com.xxx.remote.crm.service.warn.xxx&amp;metadata-type=remote&amp;methods=xxx&amp;pid=19676&amp;qos.enable=false&amp;release=2.7.6&amp;revision=1.0.0&amp;side=consumer&amp;sticky=false&amp;timeout=1000&amp;timestamp=1588757842211&amp;version=1.0.0, urls: [dubbo://10.1.64.48:20885/com.xxx.remote.crm.service.warn.xxx?anyhost=true&amp;application=service-crm&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=false&amp;interface=com.xxx.remote.crm.service.warn.xxx&amp;metadata-type=remote&amp;methods=xxx&amp;pid=29572&amp;release=2.7.6&amp;revision=1.0.0&amp;service.filter=remoteServiceExceptionFilter,-exception&amp;side=provider&amp;timeout=10000&amp;timestamp=1588757859274&amp;version=1.0.0], dubbo version: 2.7.6, current host: 10.1.64.48</code></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.<br>
yes</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.<br>
yes</li>
</ul>
<p dir="auto">JMH is a Java harness for building, running, and analysing nano/micro/milli/macro benchmarks written in Java and other languages targetting the JVM.<br>
use JMH, some of our code changes will be more convincing</p>