Skip to content

Avoid restarting transactions on retained partitions - #800

Open
wbarnha wants to merge 1 commit into
masterfrom
copilot/fix-323-rebalance-transactions
Open

wbarnha wants to merge 1 commit into
masterfrom
copilot/fix-323-rebalance-transactions

Conversation

@wbarnha

@wbarnha wbarnha commented Oct 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Start transactional producers only for newly assigned partitions during rebalance.
  • Retained partitions keep their active transaction instead of calling begin_transaction a second time.
  • Extend transaction-manager coverage to include a retained assigned partition.

Addresses #323.

Validation

  • tests/unit/transport/test_consumer.py: passed.

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.20%. Comparing base (3442a90) to head (9c438c2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #800   +/-   ##
=======================================
  Coverage   96.20%   96.20%           
=======================================
  Files         110      110           
  Lines       11791    11791           
  Branches     1282     1282           
=======================================
  Hits        11343    11343           
  Misses        351      351           
  Partials       97       97           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
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.

1 participant