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

core: Pause/Resume Nack timeout while eval is in plan queue #884

Merged
merged 1 commit into from
Mar 4, 2016

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Mar 4, 2016

core: Pause NackTimeout while in the plan_queue as progress is being made.

This avoids evals from being Nacked by the EvalBroker timeout even though progress is being made.

// handle the case that the receiving worker dies.
id := plan.EvalID
token := plan.EvalToken
if err := p.srv.evalBroker.PauseNackTimeout(id, token); err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

Can we move this before the Enqueue? That way we can avoid Enqueue if its not outstanding or there is a token mismatch

@armon
Copy link
Member

armon commented Mar 4, 2016

LGTM

@dadgar dadgar force-pushed the f-nack-timeout-pausing branch from 5580897 to 72901a9 Compare March 4, 2016 20:59
dadgar added a commit that referenced this pull request Mar 4, 2016
core: Pause/Resume Nack timeout while eval is in plan queue
@dadgar dadgar merged commit 8d5c909 into master Mar 4, 2016
@dadgar dadgar deleted the f-nack-timeout-pausing branch March 4, 2016 21:00
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants