Skip to content

Raft Cluster: Automatic learner promotion (#4392) - #4456

Open
quanyeyang wants to merge 7 commits into
valkey-io:cluster-v2from
quanyeyang:automatic-learner-promotion
Open

Raft Cluster: Automatic learner promotion (#4392)#4456
quanyeyang wants to merge 7 commits into
valkey-io:cluster-v2from
quanyeyang:automatic-learner-promotion

Fix membership-change safety holes

fa3c838
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 18, 2026 in 0s

76.55% (+0.05%) compared to f278b08

View this Pull Request on Codecov

76.55% (+0.05%) compared to f278b08

Details

Codecov Report

❌ Patch coverage is 73.25581% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.55%. Comparing base (f278b08) to head (fa3c838).

Files with missing lines Patch % Lines
src/cluster_raft.c 73.25% 23 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           cluster-v2    #4456      +/-   ##
==============================================
+ Coverage       76.49%   76.55%   +0.05%     
==============================================
  Files             166      166              
  Lines           83713    83789      +76     
==============================================
+ Hits            64037    64142     +105     
+ Misses          19676    19647      -29     
Files with missing lines Coverage Δ
src/cluster_raft.c 70.53% <73.25%> (+1.62%) ⬆️

... and 22 files with indirect coverage changes

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