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

   ### 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 3.2.14
   
   ### Steps to reproduce this issue
   
   When using the RedisMetadataReport, the subscription fails when the producer 
is not started and there is no metadata. As a result, after the subsequent 
producer is started, the consumer cannot find the metadata information 
corresponding to the producer and report an error.
   
   ```
   "Failed to invoke the method queryByClientId in the service 
org.dromara.system.api.RemoteClientService. No provider available for the 
service org.dromara.system.api.RemoteClientService from registry 
ServiceDiscoveryRegistryDirectory(registry: 192.168.3.9:8848, subscribed key: 
org.dromara.system.api.RemoteClientService)-Directory(invokers: 0[], 
validInvokers: 0[], invokersToReconnect: 0[]) on the consumer 192.168.3.9 using 
the dubbo version 3.2.14. Please check if the providers have been started and 
registered.
   ```
   
   If the producer is started first and the consumer is started later, there 
will be no such problem.
   
   ### What you expected to happen
   
   You can re-subscribe to metadata after the producer goes online, or you can 
simply report an error to prevent the startup, depending on the community's 
choice.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] 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-unsubscr...@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to