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

databendlabs / openraft
92%

Build:
DEFAULT BRANCH: main
Repo Added 15 Oct 2024 03:30AM UTC
Token P5ILmy9rYJlcs7uJCddenHVVu1Bywo1mI regen
Build 248 Last
Files 220
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • release-0.10
  • release-0.9

19 Nov 2025 10:25AM UTC coverage: 92.099% (-0.02%) from 92.119%
19498256146

push

github

drmingdrmer
refactor: extract ReplicationState into separate module

Move `ReplicationState` from `log_state.rs` to its own module to improve
code organization. Refactor the struct to use `LogState` for both local
and remote states, replacing individual fields with structured components.

11 of 12 new or added lines in 1 file covered. (91.67%)

5 existing lines in 3 files now uncovered.

13148 of 14276 relevant lines covered (92.1%)

150031.31 hits per line

Relevant lines Covered
Build:
Build:
14276 RELEVANT LINES 13148 COVERED LINES
150031.31 HITS PER LINE
Source Files on main
  • Tree
  • List 220
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19498256146 main refactor: extract ReplicationState into separate module Move `ReplicationState` from `log_state.rs` to its own module to improve code organization. Refactor the struct to use `LogState` for both local and remote states, replacing individual field... push 19 Nov 2025 10:37AM UTC drmingdrmer github
92.1
19492374016 main feat: Add `with_leader()` conditional write to `WriteRequest` Add `WriteRequest::with_leader()` method to support conditional writes that only execute when the current leader matches the expected leader. This prevents duplicate operations when re... push 19 Nov 2025 06:46AM UTC drmingdrmer github
92.12
19489036785 main change: in 0.10.0: `Raft::as_leader()` returns `Result` with `ForwardToLeader` error Changed the return type from `Option<Leader<C>>` to `Result<Leader<C>, ForwardToLeader<C>>` to provide useful information when the node is not a leader. The erro... push 19 Nov 2025 03:50AM UTC drmingdrmer github
92.15
19474883483 main chore: rename RaftMsg::CheckIsLeaderRequest to EnsureLinearizableRead Changes - Rename `RaftMsg::CheckIsLeaderRequest` to `EnsureLinearizableRead` - Rename `CheckIsLeaderError` to `LinearizableReadError`, `CheckIsLeaderError` is still kept for... push 18 Nov 2025 05:19PM UTC drmingdrmer github
92.13
19466256809 main refactor: update `Default` impl for `CommittedVote` and `NonCommittedVote` Update the `Default` implementation for vote wrapper types to require `NodeId: Default` and create proper initial leader IDs, consistent with the removal of `Default` from... push 18 Nov 2025 12:34PM UTC drmingdrmer github
92.13
19464825609 main change: in 0.10.0: remove `Default` from `RaftVote` trait bounds Remove the `Default` bound from `RaftVote` trait since a `Vote` always requires a `node_id` and a truly default value is semantically meaningless. This prepares for making `LeaderId... push 18 Nov 2025 11:42AM UTC drmingdrmer github
92.16
19459132859 main refactor: Add `Signal` and `Noop` variant to `IOFlushed` Extend `IOFlushed` enum with a `Signal` variant that sends the IO result through a oneshot channel. This provides a lighter-weight alternative to `Notify` when detailed notification informa... push 18 Nov 2025 08:28AM UTC drmingdrmer github
92.25
19436035039 main change: in 0.10.0: Rename `local_leader_id()` to `as_leader()` returning `Leader` struct The `as_leader()` method now returns a `Leader` struct containing leader metadata instead of just the leader ID. This provides richer information about the l... push 17 Nov 2025 04:06PM UTC drmingdrmer github
92.16
19423333880 main feat: Add `Raft::local_leader_id()` to get LeaderId if it is a Leader Add a method to retrieve the leader ID if the current node is the leader, i.e., its vote has been committed by a quorum. This method return `None` if the `Raft` node is not le... push 17 Nov 2025 08:40AM UTC drmingdrmer github
92.19
19419803464 main chore: StorageHelper creates default Vote when absent push 17 Nov 2025 05:54AM UTC drmingdrmer github
92.14
See All Builds (248)

Badge your Repo: openraft

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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