Skip to content

feat(partitions): implement StoreConsumerOffset and DeleteConsumerOffset#3071

Open
numinnex wants to merge 3 commits intomasterfrom
store_consumer_offset
Open

feat(partitions): implement StoreConsumerOffset and DeleteConsumerOffset#3071
numinnex wants to merge 3 commits intomasterfrom
store_consumer_offset

Conversation

@numinnex
Copy link
Copy Markdown
Contributor

@numinnex numinnex commented Apr 2, 2026

Implement StoreConsumerOffset and DeleteConsumerOffset as replicated operations on partition.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

❌ Patch coverage is 0.96339% with 514 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.24%. Comparing base (b19daa9) to head (4a886c0).

Files with missing lines Patch % Lines
core/partitions/src/iggy_partition.rs 0.00% 162 Missing ⚠️
core/partitions/src/iggy_partitions.rs 0.00% 154 Missing ⚠️
core/partitions/src/offset_storage.rs 0.00% 149 Missing ⚠️
core/partitions/src/types.rs 0.00% 37 Missing ⚠️
core/simulator/src/client.rs 0.00% 11 Missing ⚠️
core/consensus/src/observability.rs 0.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (0.96%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3071      +/-   ##
============================================
- Coverage     70.58%   70.24%   -0.35%     
  Complexity      943      943              
============================================
  Files          1113     1114       +1     
  Lines         94590    95041     +451     
  Branches      71787    72259     +472     
============================================
- Hits          66770    66763       -7     
- Misses        25348    25785     +437     
- Partials       2472     2493      +21     
Components Coverage Δ
Rust Core 70.21% <0.96%> (-0.44%) ⬇️
Java SDK 62.30% <ø> (ø)
C# SDK 69.11% <ø> (-0.29%) ⬇️
Python SDK 81.43% <ø> (ø)
Node SDK 91.40% <ø> (-0.03%) ⬇️
Go SDK 38.97% <ø> (ø)
Files with missing lines Coverage Δ
core/binary_protocol/src/consensus/operation.rs 94.36% <100.00%> (+0.16%) ⬆️
core/binary_protocol/src/dispatch.rs 90.99% <100.00%> (+0.08%) ⬆️
core/partitions/src/lib.rs 0.00% <ø> (ø)
core/consensus/src/observability.rs 27.47% <0.00%> (-0.11%) ⬇️
core/simulator/src/client.rs 0.00% <0.00%> (ø)
core/partitions/src/types.rs 0.00% <0.00%> (ø)
core/partitions/src/offset_storage.rs 0.00% <0.00%> (ø)
core/partitions/src/iggy_partitions.rs 0.00% <0.00%> (ø)
core/partitions/src/iggy_partition.rs 0.00% <0.00%> (ø)

... and 25 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.

Self::parse_staged_consumer_offset_commit(header.operation, &message)?;
let write_lock = self
.get_by_ns(namespace)
.expect("store_consumer_offset: partition not found for namespace")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return IggyError instead of using expect.

);
let _ = guard.remove(&key);
}
_ => {}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of silent catch-all. Make it unreachable!.

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.

2 participants