-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
在同一个进程的多个NamingService的发布-订阅没有相互隔离 #8428
Labels
area/Client
Related to Nacos Client SDK
kind/enhancement
Category issues or prs related to enhancement.
Milestone
Comments
bug复现:(详见测试
输出日志:
通过日志可以看到,只有一个变更,但是两个NamingService都接收到了变更事件。 |
Should we add an UUID to identity one Client( |
在 #8433 进行了说明。 |
liqipeng
added a commit
to liqipeng/nacos
that referenced
this issue
May 23, 2022
liqipeng
added a commit
to liqipeng/nacos
that referenced
this issue
May 23, 2022
KomachiSion
pushed a commit
that referenced
this issue
May 27, 2022
KomachiSion
pushed a commit
that referenced
this issue
May 27, 2022
KomachiSion
added
kind/enhancement
Category issues or prs related to enhancement.
area/Client
Related to Nacos Client SDK
and removed
kind/discussion
Category issues related to discussion
labels
May 27, 2022
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/Client
Related to Nacos Client SDK
kind/enhancement
Category issues or prs related to enhancement.
Describe the bug
nacos-client版本:1.4.3
在使用Dubbo框架进行注册中心迁移处理从一个nacos-server迁移至另一个nacos-server时,服务的消费方采用了双订阅的方式进行迁移,但是在迁移的过程中两个Registry会相互影响。
分析发现由于nacos-client的事件通知在不同NamingService实例之间没有隔离,如下场景的两个订阅会相互影响:
nacos-client源码:
可以看到HostReactor里的发布订阅并没有处理不同 HostReactor 的隔离。
The text was updated successfully, but these errors were encountered: