Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Nov 9, 2023

Conversation

C0urante
Copy link
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)

Copy link
Collaborator

@vamossagar12 vamossagar12 left a comment

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.

Copy link
Contributor

@yashmayya yashmayya left a comment

Choose a reason for hiding this comment

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

Thanks Chris, LGTM!

@C0urante
Copy link
Contributor Author

C0urante commented Nov 9, 2023

Thanks Yash!

Test failures appear unrelated, merging...

@C0urante C0urante merged commit 39c6170 into apache:trunk Nov 9, 2023
1 check failed
@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>
anurag-harness pushed a commit to anurag-harness/kafka that referenced this pull request Feb 9, 2024
…duled rebalance delay is disabled (apache#14647)

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

Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Yash Mayya <yash.mayya@gmail.com>

Co-authored-by: Chris Egerton <chrise@aiven.io>
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
3 participants