You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: