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

feature: Raft config center v2 #7147

Open
wants to merge 76 commits into
base: 2.x
Choose a base branch
from

Conversation

LegGasai
Copy link
Contributor

@LegGasai LegGasai commented Feb 9, 2025

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. 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

LegendGasai and others added 30 commits July 14, 2024 15:51
…iguration management page in seata console UI.
LegGasai and others added 25 commits September 16, 2024 20:17
This reverts commit 3e7b1f4, reversing
changes made to 0f8ca10.
@LegGasai LegGasai force-pushed the summer-code-raft-config-centerV2 branch from 10eba89 to ed15352 Compare February 9, 2025 12:19
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

Attention: Patch coverage is 56.69132% with 644 lines in your changes missing coverage. Please review.

Project coverage is 52.27%. Comparing base (679a2e0) to head (0ba16d1).
Report is 2 commits behind head on 2.x.

Files with missing lines Patch % Lines
...ta/server/cluster/raft/RaftConfigStateMachine.java 38.42% 122 Missing and 11 partials ⚠️
...che/seata/server/controller/ClusterController.java 34.24% 93 Missing and 3 partials ⚠️
...onfig/store/rocksdb/RocksDBConfigStoreManager.java 74.20% 66 Missing and 15 partials ⚠️
...a/server/cluster/raft/RaftConfigServerManager.java 68.46% 24 Missing and 11 partials ⚠️
...r/cluster/manager/ClusterConfigWatcherManager.java 25.00% 31 Missing and 2 partials ⚠️
...uster/raft/snapshot/config/ConfigSnapshotFile.java 21.62% 29 Missing ⚠️
...ache/seata/server/cluster/watch/ConfigWatcher.java 0.00% 26 Missing ⚠️
...hot/metadata/ConfigLeaderMetadataSnapshotFile.java 17.24% 24 Missing ⚠️
...er/raft/execute/config/ConfigOperationExecute.java 66.07% 9 Missing and 10 partials ⚠️
...a/server/cluster/raft/util/RaftConfigTaskUtil.java 28.00% 15 Missing and 3 partials ⚠️
... and 27 more
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #7147      +/-   ##
============================================
+ Coverage     52.20%   52.27%   +0.07%     
- Complexity     6817     7113     +296     
============================================
  Files          1154     1201      +47     
  Lines         41116    42925    +1809     
  Branches       4820     4983     +163     
============================================
+ Hits          21464    22439     +975     
- Misses        17611    18364     +753     
- Partials       2041     2122      +81     
Files with missing lines Coverage Δ
...ava/org/apache/seata/common/ConfigurationKeys.java 0.00% <ø> (ø)
...c/main/java/org/apache/seata/common/Constants.java 100.00% <ø> (ø)
...in/java/org/apache/seata/common/DefaultValues.java 0.00% <ø> (ø)
.../java/org/apache/seata/common/store/StoreMode.java 100.00% <100.00%> (+6.25%) ⬆️
...java/org/apache/seata/common/util/NumberUtils.java 66.66% <100.00%> (+23.80%) ⬆️
.../main/java/org/apache/seata/config/ConfigType.java 100.00% <100.00%> (ø)
.../apache/seata/config/ConfigurationChangeEvent.java 96.55% <100.00%> (+0.25%) ⬆️
...toconfigure/SeataCoreEnvironmentPostProcessor.java 100.00% <100.00%> (ø)
...ta/spring/boot/autoconfigure/StarterConstants.java 100.00% <ø> (ø)
...ot/autoconfigure/loader/SeataPropertiesLoader.java 63.15% <ø> (ø)
... and 43 more

... and 15 files with indirect coverage changes

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.

5 participants