• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

databendlabs / openraft / 28153627511
87%

Build:
DEFAULT BRANCH: main
Ran 25 Jun 2026 07:20AM UTC
Jobs 1
Files 264
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jun 2026 07:17AM UTC coverage: 86.892% (-0.02%) from 86.91%
28153627511

push

github

drmingdrmer
fix: adopt higher vote from rejected Pre-Vote

# Summary

A rejected Pre-Vote response now advances the requester to the
responder's higher vote in non-committed form, allowing stale nodes to
learn newer term information without granting a real vote.

# Details

Pre-Vote request handling remains side-effect-free, but responses still
carry vote state from peers. Ignoring a higher vote from a rejection can
leave a lower-term cohort retrying forever from stale terms, which is
the election deadlock described in issue #1796.

The fix mirrors the rejected real-vote path while preserving Pre-Vote
semantics: only strictly higher votes are adopted, and the adopted vote
is made non-committed before persistence. The commit also updates the
protocol note and adds both engine-level coverage and a top-level
integration reproduction.

4 of 4 new or added lines in 1 file covered. (100.0%)

6 existing lines in 2 files now uncovered.

16844 of 19385 relevant lines covered (86.89%)

161159.04 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
81.48
-11.11% openraft/src/core/sm/handle.rs
3
81.91
-3.19% openraft/src/replication/snapshot_transmitter.rs
Jobs
ID Job ID Ran Files Coverage
1 28153627511.1 25 Jun 2026 07:20AM UTC 264
86.89
GitHub Action Run
Source Files on build 28153627511
  • Tree
  • List 264
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28153627511
  • d6a6d562 on github
  • Prev Build on main (#28148326580)
  • Next Build on main (#28157323203)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc