nannanfighting opened a new issue, #11976:
URL: https://github.com/apache/dubbo/issues/11976

   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 2.5.9
   * Operating System version: xxx
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1. 一个提供方一个消费方运行。可以手动改一下DubboClientReconnectTimer定时任务的间隔时间,便于观察报错
   2. 下掉提供方
   3. 手动更新下注册中心的configure或者route目录,触发一次refresh,便可稳定复现。
   
   
经过初步分析,是因为cachedInvokerUrls这个缓存在提供方全部下线后没有清理,后续configure或者route目录如果有推送会再次触发重新建连,并开启定时任务一直处理,无法销毁。
   
   
![代码](https://user-images.githubusercontent.com/19549643/229062033-9a770781-6cd6-4eab-8928-942e402dfd5e.jpeg)
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Behavior
   
   <!-- What do you expect from the above steps?-->
   configure或者route目录的刷新不应该再次触发去连接已经下线的定时任务。
   ### Actual Behavior
   
   <!-- What actually happens? -->
   
   If there is an exception, please attach the exception trace:
   
   ```
   Just put your stack trace here!
   
   ![Uploading 报错.jpg…]()
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to