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

Don't retry messages until the broker is closed #468

Merged
merged 1 commit into from
Jun 9, 2015

Conversation

eapache
Copy link
Contributor

@eapache eapache commented Jun 9, 2015

Otherwise there is a case where the retried messages can have their
newly-selected broker closed out from under them if the remainder of this
goroutine gets heavily delayed by the scheduler.

I believe this may be the cause of the flaky failure in
TestAsyncProducerBrokerBounce (see e.g.
https://travis-ci.org/Shopify/sarama/jobs/66053366)

@Shopify/kafka

Otherwise there is a case where the retried messages can have their
newly-selected broker closed out from under them if the remainder of this
goroutine gets heavily delayed by the scheduler.

I believe this may be the cause of the flaky failure in
TestAsyncProducerBrokerBounce (see e.g.
https://travis-ci.org/Shopify/sarama/jobs/66053366)
@wvanbergen
Copy link
Contributor

Nice find. 👍

eapache added a commit that referenced this pull request Jun 9, 2015
Don't retry messages until the broker is closed
@eapache eapache merged commit 4eeb2f8 into master Jun 9, 2015
@eapache eapache deleted the close-broker-before-retrying branch June 9, 2015 15:27
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