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

databendlabs / openraft / 20413023863
88%

Build:
DEFAULT BRANCH: main
Ran 21 Dec 2025 05:04PM UTC
Jobs 1
Files 244
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

21 Dec 2025 04:51PM UTC coverage: 92.005% (-0.1%) from 92.114%
20413023863

push

github

drmingdrmer
refactor: add `BatchRaftMsgReceiver` to batch consecutive client writes

Introduce a receiver wrapper that merges consecutive `RaftMsg::ClientWrite`
messages with the same `expected_leader` into a single batched message.
This reduces per-message overhead and improves write throughput.

Changes:
- Add `BatchRaftMsgReceiver` that buffers and merges up to 4096 consecutive client writes
- Update `RaftCore` to use `BatchRaftMsgReceiver` instead of raw mpsc receiver
- Refactor main loop to use `ensure_buffered()` + `try_recv()` pattern for message processing

77 of 91 new or added lines in 2 files covered. (84.62%)

15 existing lines in 4 files now uncovered.

15719 of 17085 relevant lines covered (92.0%)

160749.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.6
0.19% openraft/src/core/raft_core.rs
13
82.43
openraft/src/core/merged_raft_msg_receiver.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
91.67
-8.33% openraft/src/core/sm/handle.rs
2
96.86
-0.9% openraft/src/replication/mod.rs
3
90.77
-4.62% openraft/src/raft/raft_inner.rs
8
90.22
-8.7% openraft/src/core/heartbeat/worker.rs
Jobs
ID Job ID Ran Files Coverage
1 20413023863.1 21 Dec 2025 05:04PM UTC 244
92.0
GitHub Action Run
Source Files on build 20413023863
  • Tree
  • List 244
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20413023863
  • fb3df40a on github
  • Prev Build on main (#20407164438)
  • Next Build on main (#20420357229)
  • 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