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

databendlabs / openraft / 15771402110
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 20 Jun 2025 04:49AM UTC
Jobs 1
Files 193
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

20 Jun 2025 04:10AM UTC coverage: 91.085% (+0.001%) from 91.084%
15771402110

push

github

drmingdrmer
fix: reset progress when heartbeat response indicates conflict

With `allow_log_reversion` enabled:

Before this fix, `RaftCore` ignored `conflict` messages from `Heartbeat` RPCs,
preventing leaders from discovering follower state changes. When a follower's
state reverted and responded with a conflict message, the leader wouldn't
retransmit necessary data to the follower.

This commit ensures `conflict` responses are always processed properly and
progress is reset to trigger data retransmission to the follower.

In this commit, a `Heartbeat` message uses `committed` log id as the
`prev_log_id` to detect Follower state reversion.

78 of 79 new or added lines in 8 files covered. (98.73%)

2 existing lines in 2 files now uncovered.

11208 of 12305 relevant lines covered (91.08%)

88719.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.59
-1.41% openraft/src/core/heartbeat/worker.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.72
-0.15% openraft/src/core/raft_core.rs
1
80.8
-0.17% openraft/src/replication/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 15771402110.1 20 Jun 2025 04:49AM UTC 193
91.08
GitHub Action Run
Source Files on build 15771402110
  • Tree
  • List 193
  • Changed 9
  • Source Changed 9
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15771402110
  • 54ffb00d on github
  • Prev Build on release-0.10 (#15562288358)
  • Next Build on release-0.10 (#16488668865)
  • 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