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

databendlabs / openraft / 19492374016 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2025 06:46AM UTC
Files 220
Run time 8s
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

19 Nov 2025 06:35AM UTC coverage: 92.119% (-0.03%) from 92.147%
19492374016.1

push

github

drmingdrmer
feat: Add `with_leader()` conditional write to `WriteRequest`

Add `WriteRequest::with_leader()` method to support conditional writes
that only execute when the current leader matches the expected leader.
This prevents duplicate operations when retrying writes after network
partitions or leadership changes.

Example: With standard LeaderId (term-only):

```rust,ignore
let term = my_raft.as_leader()?.term();
raft.write(my_data)
    .with_leader(term)
    .await?;
```

13149 of 14274 relevant lines covered (92.12%)

149342.13 hits per line

Source Files on job 19492374016.1
  • Tree
  • List 220
  • Changed 12
  • Source Changed 6
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19492374016
  • f13f0eec on github
  • Prev Job for on main (#19489036785.1)
  • Next Job for on main (#19498256146.1)
  • 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