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

databendlabs / openraft / 15771402091
88%

Build:
DEFAULT BRANCH: main
Ran 20 Jun 2025 04:48AM 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.052% (-0.03%) from 91.084%
15771402091

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.

66 of 79 new or added lines in 8 files covered. (83.54%)

5 existing lines in 3 files now uncovered.

11204 of 12305 relevant lines covered (91.05%)

88926.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
81.69
-18.31% openraft/src/core/heartbeat/worker.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.72
-0.15% openraft/src/core/raft_core.rs
1
82.4
1.43% openraft/src/replication/mod.rs
3
90.77
-4.62% openraft/src/raft/raft_inner.rs
Jobs
ID Job ID Ran Files Coverage
1 15771402091.1 20 Jun 2025 04:48AM UTC 193
91.05
GitHub Action Run
Source Files on build 15771402091
  • Tree
  • List 193
  • Changed 11
  • Source Changed 9
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15771402091
  • 54ffb00d on github
  • Prev Build on release-0.10 (#15562288358)
  • Next Build on main (#16488668876)
  • 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