Skip to content

KAFKA-20899: Fix "streams" StickyAssignor bug for standby tasks - #23096

Merged
mjsax merged 2 commits into
apache:trunkfrom
mjsax:kafka-20899-fix-sticky-assignor-bug-for-standby-tasks
Aug 10, 2026
Merged

KAFKA-20899: Fix "streams" StickyAssignor bug for standby tasks#23096
mjsax merged 2 commits into
apache:trunkfrom
mjsax:kafka-20899-fix-sticky-assignor-bug-for-standby-tasks

Conversation

@mjsax

@mjsax mjsax commented Aug 6, 2026

Copy link
Copy Markdown
Member

Broker side StickyTaskAssignor does not assign standby tasks correctly,
because it does not cycle through all group member correctly to find the
right candidate to host it.

Reviewers: Mingi Cho (github:ChoMinGi), Bill Bejeck bbejeck@apache.org

Broker side StickyTaskAssignor does not assign standby tasks correctly,
because it does not cycle through all group member correctly to find
the right candidate to host it.

@ChoMinGi ChoMinGi left a comment

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.

LGTM, verified the regression test fails before and passes with this fix.

@bbejeck bbejeck left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @mjsax LGTM

@mjsax
mjsax merged commit 3afec2a into apache:trunk Aug 10, 2026
23 checks passed
@mjsax
mjsax deleted the kafka-20899-fix-sticky-assignor-bug-for-standby-tasks branch August 10, 2026 23:11
mjsax added a commit that referenced this pull request Aug 10, 2026
Broker side StickyTaskAssignor does not assign standby tasks correctly,
because it does not cycle through all group member correctly to find the
right candidate to host it.

Reviewers: Mingi Cho (github:ChoMinGi), Bill Bejeck <bbejeck@apache.org>
mjsax added a commit that referenced this pull request Aug 10, 2026
Broker side StickyTaskAssignor does not assign standby tasks correctly,
because it does not cycle through all group member correctly to find the
right candidate to host it.

Reviewers: Mingi Cho (github:ChoMinGi), Bill Bejeck <bbejeck@apache.org>
@mjsax

mjsax commented Aug 10, 2026

Copy link
Copy Markdown
Member Author

Merged to trunk and cherry-picked to 4.3 and 4.2 branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants