Skip to content

feature: Raft config center v2 #7147

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

Open
wants to merge 81 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 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.87332% with 640 lines in your changes missing coverage. Please review.

Project coverage is 54.39%. Comparing base (0495f83) to head (6d61ea0).

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.84% 65 Missing and 14 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 26 more
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #7147      +/-   ##
============================================
+ Coverage     54.26%   54.39%   +0.12%     
- Complexity     7267     7526     +259     
============================================
  Files          1178     1210      +32     
  Lines         41962    43441    +1479     
  Branches       4923     5058     +135     
============================================
+ Hits          22772    23629     +857     
- Misses        17038    17591     +553     
- Partials       2152     2221      +69     
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 57.89% <ø> (ø)
... and 43 more

... and 6 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xingfudeshi xingfudeshi added this to the 2.5.0 milestone Apr 23, 2025
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