Skip to content

chore(server): mark old raft configs as deprecated#2661

Merged
imbajin merged 2 commits intoapache:masterfrom
shirleyStorage:deprecated_old_raft_config
Sep 8, 2024
Merged

chore(server): mark old raft configs as deprecated#2661
imbajin merged 2 commits intoapache:masterfrom
shirleyStorage:deprecated_old_raft_config

Conversation

@shirleyStorage
Copy link
Copy Markdown
Contributor

Purpose of the PR

Main Changes

Place the raft configurations at the bottom of the properties file and mark it as being deprecated.

Verifying these changes

  • Trivial rework / code cleanup without any test coverage. (No Need)
  • Already covered by existing tests, such as (please modify tests here).
  • Need tests and can be verified as follows:
    • xxx

Does this PR potentially affect the following parts?

Documentation Status

  • Doc - TODO
  • Doc - Done
  • Doc - No Need

@shirleyStorage shirleyStorage marked this pull request as ready for review September 4, 2024 15:22
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. raft labels Sep 4, 2024
@shirleyStorage
Copy link
Copy Markdown
Contributor Author

@imbajin PTAL~
This PR is related to "Mark raft-mode configs as legacy (put them on the bottom - properties)" of #2575

@imbajin imbajin requested review from VGalaxies and imbajin September 4, 2024 16:38
@imbajin imbajin added this to the 1.5.0 milestone Sep 4, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 38.42%. Comparing base (a529c02) to head (84b3caf).
Report is 1 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (a529c02) and HEAD (84b3caf). Click for more details.

HEAD has 5 uploads less than BASE
Flag BASE (a529c02) HEAD (84b3caf)
7 2
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2661      +/-   ##
============================================
- Coverage     47.60%   38.42%   -9.19%     
+ Complexity      820      632     -188     
============================================
  Files           718      718              
  Lines         58469    58469              
  Branches       7496     7496              
============================================
- Hits          27835    22467    -5368     
- Misses        27854    33596    +5742     
+ Partials       2780     2406     -374     

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

@imbajin imbajin changed the title Note the old raft config will be deprecated chore(server): mark old raft configs as deprecated Sep 6, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 8, 2024
@imbajin imbajin merged commit c88963c into apache:master Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer raft size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Note the old raft config will be deprecated

3 participants