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

some behavior change on worker #847

Merged
merged 5 commits into from
Jun 13, 2018
Merged

some behavior change on worker #847

merged 5 commits into from
Jun 13, 2018

Conversation

wxing1292
Copy link
Contributor

No description provided.

@wxing1292 wxing1292 requested a review from samarabbas June 13, 2018 00:59
if p.isTransientRetryableError(err) {
continue ProcessRetryLoop
}
time.Sleep(p.config.ReplicatorRetryDelay)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really need this extra delay now? We already have a backoff on transient errors, and now RetryTaskError is also categorized as a transient error so I think we can get rid of this sleep interval.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

Copy link
Contributor

@samarabbas samarabbas left a comment

Choose a reason for hiding this comment

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

Looks good. You can land after addressing my comment.

@wxing1292 wxing1292 merged commit 524538d into master Jun 13, 2018
@wxing1292 wxing1292 deleted the worker branch June 13, 2018 22:00
wxing1292 added a commit that referenced this pull request Jun 14, 2018
* some behavior change on worker, i.e. retry forever on RetryTaskError
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