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

databendlabs / openraft / 24551941694
91%
main: 86%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 17 Apr 2026 06:59AM UTC
Jobs 1
Files 150
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

17 Apr 2026 06:48AM UTC coverage: 90.439% (+0.001%) from 90.438%
24551941694

push

github

drmingdrmer
Fix: allow newer snapshot in `Inflight::Snapshot` ack

A replication snapshot boundary is chosen at `next_send` time from the
engine's cached `snapshot_last_log_id()`, but the state machine can build
a fresher snapshot before `ReplicationCore::stream_snapshot` calls
`get_snapshot()`. When the callback reports the shipped snapshot's actual
`last_log_id`, the old `debug_assert_eq!(&upto, last_log_id)` in
`Inflight::ack` would panic in debug builds, even though the follower
received strictly more data than requested and `matching` advances safely.

Relax the check to `upto >= last_log_id`. This still catches a real
regression — shipping an older snapshot than expected would roll
`matching` backward on the follower — but accepts the benign TOCTOU race.

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

9677 of 10700 relevant lines covered (90.44%)

7770.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24551941694.1 17 Apr 2026 06:59AM UTC 150
90.44
GitHub Action Run
Source Files on build 24551941694
  • Tree
  • List 150
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24551941694
  • cc6a2cfa on github
  • Prev Build on release-0.9 (#24542520127)
  • Next Build on release-0.9 (#24647645135)
  • 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