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

bugfix: change group and node offline status are not pushed in real time #6812

Merged
merged 26 commits into from
Sep 4, 2024

Conversation

ggbocoder
Copy link
Contributor

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

1.push to the client when the server node goes offline using namingserver
2.ensure consistency of addgroup and removegroup

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@funky-eyes funky-eyes changed the title fix: push to the client when the server node goes offline using namingserver bugfix: change group and node offline status are not pushed in real time Sep 4, 2024
@funky-eyes funky-eyes added this to the 2.2.0 milestone Sep 4, 2024
ggbocoder and others added 3 commits September 4, 2024 13:57
…er/NamingManager.java

Co-authored-by: funkye <364176773@qq.com>
…er/NamingManager.java

Co-authored-by: funkye <364176773@qq.com>
@funky-eyes funky-eyes added the type: bug Category issues or prs related to bug. label Sep 4, 2024
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 23.52941% with 13 lines in your changes missing coverage. Please review.

Project coverage is 52.29%. Comparing base (4b419a4) to head (c826e55).
Report is 1 commits behind head on 2.x.

Files with missing lines Patch % Lines
...ache/seata/namingserver/manager/NamingManager.java 25.00% 10 Missing and 2 partials ⚠️
.../namingserver/NamingserverRegistryServiceImpl.java 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #6812      +/-   ##
============================================
- Coverage     52.36%   52.29%   -0.08%     
+ Complexity     6393     6384       -9     
============================================
  Files          1080     1080              
  Lines         37546    37552       +6     
  Branches       4446     4449       +3     
============================================
- Hits          19662    19638      -24     
- Misses        15948    15978      +30     
  Partials       1936     1936              
Files with missing lines Coverage Δ
.../namingserver/NamingserverRegistryServiceImpl.java 0.00% <0.00%> (ø)
...ache/seata/namingserver/manager/NamingManager.java 56.74% <25.00%> (-12.16%) ⬇️

... and 3 files with indirect coverage changes

@funky-eyes funky-eyes merged commit 242d92c into apache:2.x Sep 4, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/namingserver type: bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants