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

feat: raft manager (part1) #103

Merged
merged 1 commit into from
Apr 17, 2022
Merged

feat: raft manager (part1) #103

merged 1 commit into from
Apr 17, 2022

Conversation

MrCroxx
Copy link
Owner

@MrCroxx MrCroxx commented Apr 17, 2022

As titled.

Changes:

  • Implement raft service.
  • Add basic test for raft manager.
  • Update openraft dep.

Ref: #88 .

@MrCroxx MrCroxx added the feature New feature. label Apr 17, 2022
@MrCroxx MrCroxx self-assigned this Apr 17, 2022
@MrCroxx MrCroxx enabled auto-merge (squash) April 17, 2022 07:56
@codecov
Copy link

codecov bot commented Apr 17, 2022

Codecov Report

Merging #103 (cecb49a) into main (228cb3f) will increase coverage by 0.71%.
The diff coverage is 53.11%.

@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   82.14%   82.85%   +0.71%     
==========================================
  Files          67       67              
  Lines        6327     6545     +218     
==========================================
+ Hits         5197     5423     +226     
+ Misses       1130     1122       -8     
Impacted Files Coverage Δ
common/src/channel_pool.rs 79.48% <ø> (ø)
wheel/src/components/gear.rs 8.69% <0.00%> (-0.61%) ⬇️
wheel/src/error.rs 0.00% <0.00%> (ø)
wheel/src/service.rs 41.02% <36.41%> (-12.64%) ⬇️
wheel/src/components/raft_manager.rs 85.56% <86.04%> (+66.00%) ⬆️
wheel/src/components/network.rs 60.44% <100.00%> (+55.10%) ⬆️
wheel/src/lib.rs 92.43% <100.00%> (+0.03%) ⬆️
wheel/src/components/raft_log_store.rs 68.94% <0.00%> (+4.18%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 228cb3f...cecb49a. Read the comment docs.

@MrCroxx MrCroxx merged commit f5fd35a into main Apr 17, 2022
@MrCroxx MrCroxx deleted the xx/raft-manager-p1 branch April 17, 2022 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant