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

Increment the backoff exponentially #3237

Merged
merged 4 commits into from
Mar 15, 2021
Merged

Conversation

ajbarb
Copy link
Contributor

@ajbarb ajbarb commented Jan 29, 2021

Address issue #3166

src/rdkafka_metadata.c Outdated Show resolved Hide resolved
Address comment.
@ajbarb ajbarb requested a review from edenhill March 9, 2021 23:14
src/rdkafka_metadata.c Outdated Show resolved Hide resolved
@ajbarb ajbarb requested a review from edenhill March 13, 2021 23:16
Copy link
Contributor

@edenhill edenhill left a comment

Choose a reason for hiding this comment

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

Just some style changes needed.

@@ -1234,8 +1234,7 @@ static void rd_kafka_metadata_leader_query_tmr_cb (rd_kafka_timers_t *rkts,
rk->rk_conf.metadata_refresh_interval_ms)
rd_kafka_timer_stop(rkts, rtmr, 1/*lock*/);
else
rd_kafka_timer_backoff(rkts, rtmr,
(int)rtmr->rtmr_interval);
rd_kafka_timer_exp_backoff(rkts, rtmr);
Copy link
Contributor

Choose a reason for hiding this comment

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

Use 8 whitespace indent

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry missed that. Addressed it.

src/rdkafka_timer.c Outdated Show resolved Hide resolved
@ajbarb ajbarb requested a review from edenhill March 15, 2021 16:18
@edenhill edenhill merged commit c2b29fb into confluentinc:master Mar 15, 2021
@edenhill
Copy link
Contributor

Thank you!

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.

2 participants