Skip to content

fix dubbo provider lose when zookeeper restored to normal after network fluctuations.(#12646)#12740

Merged
AlbumenJ merged 1 commit intoapache:3.2from
qijun4tian:3.2
Jul 19, 2023
Merged

fix dubbo provider lose when zookeeper restored to normal after network fluctuations.(#12646)#12740
AlbumenJ merged 1 commit intoapache:3.2from
qijun4tian:3.2

Conversation

@qijun4tian
Copy link
Contributor

What is the purpose of the change

fix(#12646 ) 在zookeeper 恢复后,由于之前的session创建的Ephermal节点未及时删除导致provider 不能再次注册上的问题

Brief changelog

Verifying this change

Checklist

  • Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • Add some description to dubbo-website project if you are requesting to add a feature.
  • GitHub Actions works fine on your own branch.
  • If this contribution is large, please follow the Software Donation Guide.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@codecov-commenter
Copy link

codecov-commenter commented Jul 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.34%. Comparing base (bd76d04) to head (eca7f30).
Report is 771 commits behind head on 3.2.

Additional details and impacted files
@@             Coverage Diff              @@
##                3.2   #12740      +/-   ##
============================================
- Coverage     69.70%   69.34%   -0.36%     
+ Complexity      318        2     -316     
============================================
  Files          3517     1647    -1870     
  Lines        166885    68208   -98677     
  Branches      27942     9969   -17973     
============================================
- Hits         116322    47300   -69022     
+ Misses        40483    16351   -24132     
+ Partials      10080     4557    -5523     

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

@qijun4tian qijun4tian changed the title fix dubbo provider lose when zk restart (#12646) fix dubbo provider lose when zookeeper restored to normal after network fluctuations.(#12646) Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments