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
In springcloud dual registration scenario, using the zk registration center may not be able to remove duplicates.
How can we reproduce it (as minimally and precisely as possible)?
Springcloud 2020.0.0+, dual registration scenario, using the zk registration center, the same downstream instance is registered to sc and zk at the same time, and duplicates cannot be removed. The reason is that com.huawei.registry.interceptors.cloud3.x.ZookeeperInstanceSupplierInterceptor uses distinct Duplication needs to be modified to use HostUtils.isSameInstance to remove duplication. Please refer to com.huawei.registry.interceptors.DynamicServerListInterceptor
Anything else we need to know?
No response
Sermant version
all
OS version
n/a
The text was updated successfully, but these errors were encountered:
kkf1
changed the title
springcloud双注册场景,使用zk注册中心有可能无法去重
In springcloud dual registration scenario, using the zk registration center may not be able to remove duplicates.
Apr 13, 2024
What happened?
In springcloud dual registration scenario, using the zk registration center may not be able to remove duplicates.
How can we reproduce it (as minimally and precisely as possible)?
Springcloud 2020.0.0+, dual registration scenario, using the zk registration center, the same downstream instance is registered to sc and zk at the same time, and duplicates cannot be removed. The reason is that com.huawei.registry.interceptors.cloud3.x.ZookeeperInstanceSupplierInterceptor uses distinct Duplication needs to be modified to use HostUtils.isSameInstance to remove duplication. Please refer to com.huawei.registry.interceptors.DynamicServerListInterceptor
Anything else we need to know?
No response
Sermant version
all
OS version
n/a
The text was updated successfully, but these errors were encountered: