barney-cs opened a new issue, #5839:
URL: https://github.com/apache/shenyu/issues/5839

   ### Question
   
   I encountered an issue during the initial automatic registration of a 
service where the URIRegister and DiscoveryConfigRegister processes conflict.
   
   The URIRegister process creates a default discovery of type local.
   The DiscoveryConfigRegister process registers the configured discovery (in 
my case, Zookeeper).
   The execution order of these processes cannot be controlled. Sometimes, the 
URIRegister process executes first, resulting in the creation of a local type 
discovery. Occasionally, this also leads to concurrency issues, causing 
duplicate creation of discovery_rel data.
   
   Currently, the only workaround is to manually create selectors and discovery 
configurations for each service in the Divide plugin, which avoids errors 
caused by automatic creation.
   
   Could you please advise on how to avoid these conflicts or disable the 
URIRegister process without modifying the code?


-- 
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]

Reply via email to