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

databendlabs / openraft / 19359053211
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 14 Nov 2025 08:42AM UTC
Jobs 1
Files 217
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

14 Nov 2025 08:14AM UTC coverage: 92.046% (+0.4%) from 91.658%
19359053211

push

github

xp-trumpet
refactor: optimize client responder management with VecDeque-based queue (#1336)

This commit addresses issue #1336 by replacing the BTreeMap-based client
responder storage with an optimized queue structure that leverages VecDeque
with binary search for efficient range extraction.

- Add `ClientResponderQueue`

### Core Changes
- **RaftCore**: Uses `ClientResponderQueue` instead of `BTreeMap`

### Benefits
- Faster insertion (O(1) vs O(log n))
- Faster extraction (O(log n + k) vs O(m))
- Better cache locality (contiguous memory)

- Fix: #1336

133 of 137 new or added lines in 4 files covered. (97.08%)

23 existing lines in 4 files now uncovered.

12856 of 13967 relevant lines covered (92.05%)

133120.19 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
96.75
openraft/src/core/client_responder_queue.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
89.64
0.17% openraft/src/core/raft_core.rs
3
0.0
-100.0% openraft/src/network/rpc_type.rs
8
87.84
-10.83% openraft/src/core/heartbeat/worker.rs
9
84.71
-1.06% openraft/src/replication/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 19359053211.1 14 Nov 2025 08:42AM UTC 217
92.05
GitHub Action Run
Source Files on build 19359053211
  • Tree
  • List 217
  • Changed 59
  • Source Changed 4
  • Coverage Changed 59
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19359053211
  • 7adcebad on github
  • Prev Build on main (#19285253155)
  • Next Build on release-0.10 (#19390656609)
  • 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

© 2025 Coveralls, Inc