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

databendlabs / openraft / 18549407454

16 Oct 2025 03:06AM UTC coverage: 91.322% (-0.07%) from 91.391%
18549407454

push

github

drmingdrmer
improve: Apply command no longer depends on preceding commands

`SaveCommittedAndApply` is automatically generated by examining progress
state. Previously, it had to wait for all preceding commands to execute
first (e.g., waiting for AppendEntries IO to submit entries to storage
before applying them).

This commit generates progress-driven commands only when their conditions
are already met. For example, `SaveCommittedAndApply` is only generated
when entries are already submitted to storage. This makes these commands
unconditional - they can execute immediately without waiting.

Benefits:
- Progress-driven commands can run anytime after generation
- No longer blocked by postponed commands in the queue
- Eliminates potential deadlock where the queue cannot be exhausted

17 of 17 new or added lines in 2 files covered. (100.0%)

11 existing lines in 3 files now uncovered.

11775 of 12894 relevant lines covered (91.32%)

139612.33 hits per line

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

97.37
/openraft/src/engine/engine_impl.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