Skip to content

feat(consensus): impl consensus group mechanism#3138

Merged
numinnex merged 2 commits intomasterfrom
consensus_group_impl
Apr 20, 2026
Merged

feat(consensus): impl consensus group mechanism#3138
numinnex merged 2 commits intomasterfrom
consensus_group_impl

Conversation

@numinnex
Copy link
Copy Markdown
Contributor

Add consensus_group field, required to distinguish between different instances of consensus that are stored in metadata and partition.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 17, 2026

Codecov Report

❌ Patch coverage is 67.51269% with 192 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.23%. Comparing base (2d6562b) to head (44eb01a).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
core/metadata/src/impls/metadata.rs 19.62% 125 Missing and 2 partials ⚠️
core/metadata/src/stm/mod.rs 21.73% 18 Missing ⚠️
core/metadata/src/stm/stream.rs 90.41% 10 Missing and 6 partials ⚠️
...s/partitions/create_partitions_with_assignments.rs 86.48% 5 Missing and 5 partials ⚠️
...c/requests/topics/create_topic_with_assignments.rs 87.17% 5 Missing and 5 partials ⚠️
...ry_protocol/src/primitives/partition_assignment.rs 75.00% 5 Missing and 2 partials ⚠️
core/consensus/src/observability.rs 0.00% 2 Missing ⚠️
core/shard/src/router.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3138      +/-   ##
============================================
+ Coverage     73.17%   73.23%   +0.05%     
  Complexity      943      943              
============================================
  Files          1123     1126       +3     
  Lines         97892    98435     +543     
  Branches      75065    75628     +563     
============================================
+ Hits          71632    72087     +455     
- Misses        23671    23712      +41     
- Partials       2589     2636      +47     
Components Coverage Δ
Rust Core 74.12% <67.51%> (+0.06%) ⬆️
Java SDK 62.30% <ø> (ø)
C# SDK 69.11% <ø> (-0.29%) ⬇️
Python SDK 81.43% <ø> (ø)
Node SDK 91.53% <ø> (+0.22%) ⬆️
Go SDK 39.41% <ø> (ø)
Files with missing lines Coverage Δ
core/binary_protocol/src/consensus/operation.rs 95.95% <100.00%> (+0.77%) ⬆️
core/binary_protocol/src/dispatch.rs 91.15% <100.00%> (ø)
core/metadata/src/stm/mux.rs 91.66% <100.00%> (+0.30%) ⬆️
core/metadata/src/stm/snapshot.rs 85.83% <100.00%> (+1.70%) ⬆️
core/shard/src/lib.rs 86.47% <100.00%> (+0.04%) ⬆️
core/consensus/src/observability.rs 40.00% <0.00%> (-0.19%) ⬇️
core/shard/src/router.rs 0.00% <0.00%> (ø)
...ry_protocol/src/primitives/partition_assignment.rs 75.00% <75.00%> (ø)
...s/partitions/create_partitions_with_assignments.rs 86.48% <86.48%> (ø)
...c/requests/topics/create_topic_with_assignments.rs 87.17% <87.17%> (ø)
... and 3 more

... and 32 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread core/binary_protocol/src/primitives/partition_assignment.rs
@numinnex numinnex merged commit 3630799 into master Apr 20, 2026
80 checks passed
@numinnex numinnex deleted the consensus_group_impl branch April 20, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants