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

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

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 11:11AM UTC
Files 229
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

04 Dec 2025 10:58AM UTC coverage: 92.651% (+0.2%) from 92.439%
19926825449.1

push

github

drmingdrmer
change: use `stream_append()` in `ReplicationCore` for log replication

Refactor `ReplicationCore` to call `RaftNetworkV2::stream_append()` instead of
`append_entries()` for log replication. This prepares the codebase for pipelined
replication, though the current implementation still uses request-response pattern.

Changes:
- Change `RaftNetworkV2::stream_append()` return type from `impl Stream` to
  `BoxFuture<BoxStream>` to avoid higher-ranked lifetime error
- Add `InflightAppend` and `InflightAppendQueue` for tracking in-flight requests
- Add `StreamState` and `StreamContext` for stream-based request generation
- Add `backoff_rank()` to `RPCError` for adaptive retry backoff
- Extract `ReplicationContext` with cancellation channel support

Upgrade tip:

If you implement `RaftNetworkV2::stream_append()`, update the return type from:
```rust
fn stream_append<'s, S>(...) -> impl Stream<...> + 's
where S: ... + 'static
```
to:
```rust
fn stream_append<'s, S>(...) -> BoxFuture<'s, Result<BoxStream<'s, ...>, RPCError<C>>>
where S: ... + 's
```

14132 of 15253 relevant lines covered (92.65%)

151865.78 hits per line

Source Files on job 19926825449.1
  • Tree
  • List 229
  • Changed 11
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19926825449
  • db86423a on github
  • Prev Job for on main (#19892261719.1)
  • Next Job for on main (#19931711762.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