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

Fix: Bulk processor retries indefinitely on failure #1661

Open
wants to merge 2 commits into
base: release-branch.v7
Choose a base branch
from

Conversation

rafaeljusto
Copy link

@rafaeljusto rafaeljusto commented Feb 2, 2023

When all retries are exhausted the worker internal requests buffer needs to be cleared in failure scenarios. That is required because the commitFunc (and consequently the underlying BulkService.Do call) doesn't reset it when some error happens. Without clearing the internal buffer the worker will continue sending the same requests on the following rounds of execution.

Kudos for this solution goes to @rwynn and @raiRaiyan .

Resolves #1278

When all retries are exhausted the worker internal requests buffer needs to be
cleared in failure scenarios. That is required because the commitFunc (and
consequently the underlying BulkService.Do call) doesn't reset it when some error
happens. Without clearing the internal buffer the worker will continue sending
the same requests on the following rounds of execution.

Kudos for this solution goes to @rwynn and @raiRaiyan .

Resolves olivere#1278
@rafaeljusto
Copy link
Author

Hey @olivere , as this repository is deprecated, is it not accepting patches anymore?

@olivere
Copy link
Owner

olivere commented Feb 7, 2023

Yes. This repository is deprecated and basically dormant. You are strongly encouraged to switch to the official client.

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.

Bulk processor retries indefinitely on failure
2 participants