Skip to content

KAFKA-15693: Immediately reassign lost connectors and tasks when scheduled rebalance delay is disabled#14647

Merged
C0urante merged 2 commits into
apache:trunkfrom
C0urante:KAFKA-15693
Nov 9, 2023
Merged

KAFKA-15693: Immediately reassign lost connectors and tasks when scheduled rebalance delay is disabled#14647
C0urante merged 2 commits into
apache:trunkfrom
C0urante:KAFKA-15693

Conversation

@C0urante

Copy link
Copy Markdown
Contributor

Jira

This change is fairly lightweight: when scheduled.rebalance.max.delay.ms is set to 0, instead of sending out an intentionally-incomplete assignment with a delay of 0 (which is interpreted by workers as the lack of a scheduled rebalance delay as opposed to a signal to immediately trigger a new rebalance), we immediately reassign all lost connectors and tasks.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@vamossagar12 vamossagar12 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.

Thanks for the PR Chris. LGTM, I just had 1 minor nit comment.

@yashmayya yashmayya 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.

Thanks Chris, LGTM!

@C0urante

C0urante commented Nov 9, 2023

Copy link
Copy Markdown
Contributor Author

Thanks Yash!

Test failures appear unrelated, merging...

@C0urante
C0urante merged commit 39c6170 into apache:trunk Nov 9, 2023
@C0urante
C0urante deleted the KAFKA-15693 branch November 9, 2023 15:48
C0urante added a commit that referenced this pull request Nov 9, 2023
…duled rebalance delay is disabled (#14647)

Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Yash Mayya <yash.mayya@gmail.com>
C0urante added a commit that referenced this pull request Nov 9, 2023
…duled rebalance delay is disabled (#14647)

Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Yash Mayya <yash.mayya@gmail.com>
mjsax pushed a commit to confluentinc/kafka that referenced this pull request Nov 22, 2023
…duled rebalance delay is disabled (apache#14647)

Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Yash Mayya <yash.mayya@gmail.com>
rreddy-22 pushed a commit to rreddy-22/kafka-rreddy that referenced this pull request Jan 2, 2024
…duled rebalance delay is disabled (apache#14647)

Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Yash Mayya <yash.mayya@gmail.com>
yyu1993 pushed a commit to yyu1993/kafka that referenced this pull request Feb 15, 2024
…duled rebalance delay is disabled (apache#14647)

Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Yash Mayya <yash.mayya@gmail.com>
clolov pushed a commit to clolov/kafka that referenced this pull request Apr 5, 2024
…duled rebalance delay is disabled (apache#14647)

Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Yash Mayya <yash.mayya@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants