-
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
[ISSUE #8428] fix naming subscribe bug when multiple NamingService (2.x) #8433
[ISSUE #8428] fix naming subscribe bug when multiple NamingService (2.x) #8433
Conversation
|
@KomachiSion 我的实现是使用UUID来标识一个NamingService的,notifierEventScope就是这个标识:
|
1、Event增加了一个scope(),默认实现返回null;Subscriber增加了一个 scopeMatches 的扩展方法,用于判断事件的作用域是否匹配
2、DefaultPublisher
3、InstancesChangeNotifier实现了自己的scopeMatches
|
628481d
to
1bcbdc8
Compare
Codecov Report
@@ Coverage Diff @@
## develop #8433 +/- ##
=============================================
+ Coverage 41.13% 41.20% +0.06%
- Complexity 4379 4387 +8
=============================================
Files 873 873
Lines 31811 31825 +14
Branches 3706 3707 +1
=============================================
+ Hits 13085 13113 +28
+ Misses 17413 17398 -15
- Partials 1313 1314 +1
Continue to review full report at Codecov.
|
1bcbdc8
to
49723de
Compare
CI、IT问题已解决; |
OK, I will review it again. |
这个升级不是一个平滑的升级方案! |
确实是没考虑到 |
Detail : #8428