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

MINOR: Prevent broker fencing by adjusting resendExponentialBackoff in BrokerLifecycleManager #19061

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

MahsaSeifikar
Copy link
Contributor

This PR reduces maxInterval for resendExponentialBackoff in BrokerLifecycleManager class from broker.session.timeout.ms to half of its value. Setting maxInterval to broker.session.timeout.ms caused brokers to be fenced if a resend attempt occurred near the timeout threshold, leading to unnecessary broker fencing.

@github-actions github-actions bot added triage PRs from the community core Kafka Broker small Small PRs labels Feb 28, 2025
@MahsaSeifikar MahsaSeifikar changed the title Prevent broker fencing by adjusting resend backoff maxInterval Prevent broker fencing by adjusting resendExponentialBackoff in BrokerLifecycleManager Feb 28, 2025
Copy link
Contributor

@cmccabe cmccabe left a comment

Choose a reason for hiding this comment

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

LGTM

@MahsaSeifikar MahsaSeifikar changed the title Prevent broker fencing by adjusting resendExponentialBackoff in BrokerLifecycleManager MINOR: Prevent broker fencing by adjusting resendExponentialBackoff in BrokerLifecycleManager Feb 28, 2025
@github-actions github-actions bot removed the triage PRs from the community label Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Kafka Broker small Small PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants