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: after scaling down a Raft cluster, the metadata still contains the removed node #6855

Merged
merged 4 commits into from
Sep 16, 2024

Merge branch '2.x' of github.com:apache/incubator-seata into 20240914

2cf3d4d
Select commit
Loading
Failed to load commit list.
Merged

bugfix: after scaling down a Raft cluster, the metadata still contains the removed node #6855

Merge branch '2.x' of github.com:apache/incubator-seata into 20240914
2cf3d4d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 15, 2024 in 0s

52.30% (-0.01%) compared to 963f7f3

View this Pull Request on Codecov

52.30% (-0.01%) compared to 963f7f3

Details

Codecov Report

Attention: Patch coverage is 11.53846% with 23 lines in your changes missing coverage. Please review.

Project coverage is 52.30%. Comparing base (963f7f3) to head (2cf3d4d).

Files with missing lines Patch % Lines
...he/seata/server/cluster/raft/RaftStateMachine.java 11.53% 22 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #6855      +/-   ##
============================================
- Coverage     52.31%   52.30%   -0.01%     
- Complexity     6412     6414       +2     
============================================
  Files          1083     1083              
  Lines         37918    37923       +5     
  Branches       4494     4492       -2     
============================================
+ Hits          19836    19837       +1     
- Misses        16113    16114       +1     
- Partials       1969     1972       +3     
Files with missing lines Coverage Δ
...in/java/org/apache/seata/common/metadata/Node.java 62.50% <ø> (ø)
...he/seata/server/cluster/raft/RaftStateMachine.java 14.73% <11.53%> (+0.12%) ⬆️

... and 3 files with indirect coverage changes