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

databendlabs / openraft / 20340037209

18 Dec 2025 01:24PM UTC coverage: 92.566% (+0.06%) from 92.509%
20340037209

push

github

drmingdrmer
feat: add `max_append_entries` config for storage I/O batching

Add a dedicated config option to limit the number of log entries batched
in a single storage write operation. This is separate from `max_payload_entries`
which controls network replication payload size.

Changes:
- Add `max_append_entries: Option<u64>` config field with default 4096
- Add `max_append_entries()` method to return configured value
- Update `CommandScheduler` to accept `&Config` instead of `max_entries` parameter
- Simplify merge logic by combining conditions in match guard

48 of 49 new or added lines in 3 files covered. (97.96%)

43 existing lines in 4 files now uncovered.

15153 of 16370 relevant lines covered (92.57%)

146338.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/openraft/src/engine/handler/establish_handler/mod.rs


Source Not Available

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