Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In springcloud dual registration scenario, using the zk registration center may not be able to remove duplicates. #1241

Closed
provenceee opened this issue Jul 6, 2023 · 0 comments
Assignees
Labels
area/plugin Issues or PRs releated to sermant plugin service kind/bug Something isn't working
Milestone

Comments

@provenceee
Copy link
Collaborator

provenceee commented Jul 6, 2023

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

@provenceee provenceee added the kind/bug Something isn't working label Jul 6, 2023
@provenceee provenceee changed the title 【bug】springcloud双注册场景,使用zk注册中心有可能无法去重 springcloud双注册场景,使用zk注册中心有可能无法去重 Jul 6, 2023
@provenceee provenceee added the area/plugin Issues or PRs releated to sermant plugin service label Jul 6, 2023
@hanbingleixue hanbingleixue added this to the v1.2.0 milestone Oct 7, 2023
@kkf1 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin Issues or PRs releated to sermant plugin service kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants