<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.8</li>
<li>Operating System version: centos6.9</li>
<li>Java version: 1.8</li>
</ul>
<p dir="auto">org.apache.dubbo.registry.nacos.NacosRegistry.getServiceNames0，line271<br>
This method returns two serviceNames in order to be compatible with the old subscription serviceName. If the compatible service name cannot be found on the Nacos server, it will go to the Nacos server every other second (normally 10 seconds). Because the frequency is too high, the CPU of the Nacos server will remain high.</p>
<p dir="auto">This is the detailed process of my feedback in the Nacos community<br>
<a href="url">https://github.com/alibaba/nacos/issues/3806</a></p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">Remove compatible code？</p>
<p dir="auto">thank you !</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/incubator-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/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">As discussed in <a href="https://lists.apache.org/thread.html/e3112c832415850779af2fe04aa7325d8d776144f3939cc63f5eab08@%3Cdev.dubbo.apache.org%3E" rel="nofollow">https://lists.apache.org/thread.html/e3112c832415850779af2fe04aa7325d8d776144f3939cc63f5eab08@%3Cdev.dubbo.apache.org%3E</a></p>
<p dir="auto">In order to make sure all dependencies license is suitable for dubbo, we need a quick way (such as a convenient script) to check dependencies license.</p>