When I use the multi-registry feature of Dubbo with setting namingLoadCacheAtStart=true, the cache of NacosNamingService will overwrite each other #5747
Labels
kind/enhancement
Category issues or prs related to enhancement.
Milestone
Describe the bug
When I use the multi-registry feature of Dubbo with setting
namingLoadCacheAtStart=true
(default is also true in Dubbo), the cache of NacosNamingService will overwrite each other.If two registries have different services, some of the services will be lost because of overwriting.
For example, we have settings as below:
If registryStable overwrites registryDev, the consumer can't find the GreetingService in registryDev.
Expected behavior
The different registry has different cache folder, so the cache will not overwrite each other.
PS: zookeeper works well with multi-registry feature of Dubbo.
Acutally behavior
The cache of NacosNamingService will overwrite each other.
If two registries have different services, some of the services will be lost because of overwriting.
How to Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
nope
The text was updated successfully, but these errors were encountered: