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

databendlabs / openraft / 18273107702
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 06 Oct 2025 07:24AM UTC
Jobs 1
Files 194
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

06 Oct 2025 03:42AM UTC coverage: 91.1% (+0.008%) from 91.092%
18273107702

push

github

drmingdrmer
feat: add `RaftStateMachine::try_create_snapshot_builder`

Add `try_create_snapshot_builder(force: bool) -> Option<Builder>` to
allow applications to defer snapshot creation when OpenRaft requests it.
This enables implementations to choose optimal timing for snapshot
building based on I/O load and other factors.

When `force=false`, returning `None` defers the snapshot creation.
When `force=true`, a builder must be returned.

The default implementation calls `get_snapshot_builder()` for backward
compatibility. `get_snapshot_builder` is marked for deprecation.

59 of 61 new or added lines in 9 files covered. (96.72%)

11260 of 12360 relevant lines covered (91.1%)

104304.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
openraft/src/storage/v2/raft_state_machine.rs
Jobs
ID Job ID Ran Files Coverage
1 18273107702.1 06 Oct 2025 07:24AM UTC 194
91.1
GitHub Action Run
Source Files on build 18273107702
  • Tree
  • List 194
  • Changed 9
  • Source Changed 9
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18273107702
  • e7e0a3f7 on github
  • Prev Build on main (#18253185005)
  • Next Build on release-0.10 (#18315928334)
  • 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