You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "renyuweighub (via GitHub)" <gi...@apache.org> on 2025/11/26 10:22:23 UTC
[I] [Bug] The dynamic configuration updates at the service level are not effective immediately (or in real-time) for application-level calls in Dubbo 3 [dubbo]
renyuweighub opened a new issue, #15802:
URL: https://github.com/apache/dubbo/issues/15802
### Pre-check
- [x] I am sure that all the content I provide is in English.
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar issues.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Dubbo Version
Dubbo Java 3.2.11,jdk 1.8,mac os 14.2
### Steps to reproduce this issue
1.First, define and deploy the provider of the RPC interface com.demo.framework.dubbo.demo.api.UdubboDemoService
<img width="338" height="602" alt="Image" src="https://github.com/user-attachments/assets/78986f60-804f-46d7-ad75-0baa2527e53a" />
2.Use the FORCE_APPLICATION invocation strategy
dubbo.application.migration.step=FORCE_APPLICATION
3.Start the subscriber application to invoke the provider, and observe the old timeout and retry value
4.Then modify the subscriber’s application-level dynamic configuration for timeout and retries
<img width="812" height="673" alt="Image" src="https://github.com/user-attachments/assets/d5e37caf-0e17-4375-84b1-5b56adfe9c68" />
5.Observe whether the dynamic configuration takes effect
### What you expected to happen
The expected values for the timeout and retry configurations in the actual invocation should be consistent with the application-level dynamic configuration, but the settings did not take effect, and the old timeout and retry values were retained.
### Anything else
I have identified the potential cause. The issue might be in the following code:
In the ServiceDiscoveryRegistryDirectory class, the return value of the urlChanged method does not reflect changes in the application-level dynamic configuration. Consequently, the invoker is not re-initialized, and the system continues to use the old invoker, which is why the dynamic configuration is not taking effect in real-time. In contrast, dynamic configurations at the service/interface level are taking effect in real-time.
<img width="1103" height="549" alt="Image" src="https://github.com/user-attachments/assets/2d128c6b-3491-4527-a16c-38471039deae" />
### Are you willing to submit a pull request to fix on your own?
- [x] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org