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

fix #1380, create NacosRegistryProviderObserver when init method is executed #1392

Closed
wants to merge 12 commits into from

Conversation

wangchengming666
Copy link
Collaborator

@wangchengming666 wangchengming666 commented Jan 17, 2024

fix #1380 修改之前的代码创建NacosRegistryProviderObserver是在subscribe里的,修改之后创建NacosRegistryProviderObserver是在init方法里的,init是有同步锁的。

@sofastack-cla sofastack-cla bot added bug Something isn't working cla:yes CLA is ok size/M labels Jan 17, 2024
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.03%. Comparing base (df2dcae) to head (2598309).

❗ Current head 2598309 differs from pull request most recent head d68be0a. Consider uploading reports for the commit d68be0a to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1392   +/-   ##
=========================================
  Coverage     72.02%   72.03%           
- Complexity      791      797    +6     
=========================================
  Files           422      422           
  Lines         17813    17813           
  Branches       2769     2769           
=========================================
+ Hits          12830    12831    +1     
- Misses         3568     3570    +2     
+ Partials       1415     1412    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Lo1nt Lo1nt requested a review from EvenLjj February 28, 2024 03:36
@EvenLjj EvenLjj closed this Feb 28, 2024
@EvenLjj EvenLjj reopened this Feb 28, 2024
@zhenjunMa zhenjunMa closed this Feb 29, 2024
@zhenjunMa zhenjunMa reopened this Feb 29, 2024
@sofastack-cla sofastack-cla bot added size/L and removed size/M labels Mar 1, 2024
@sofastack-cla sofastack-cla bot added size/M and removed size/L labels Mar 4, 2024
@wangchengming666 wangchengming666 changed the title fix #1380 fix #1380, create NacosRegistryProviderObserver when init method is executed Mar 4, 2024
@sofastack-cla sofastack-cla bot added the question Further information is requested label Mar 4, 2024
@wangchengming666 wangchengming666 deleted the fix-#1380 branch March 12, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla:yes CLA is ok question Further information is requested size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nacos+SofaRpc 更新订阅端监听器 并发疑问
4 participants