Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

allocator: Fix stuck tasks at startup#1938

Merged
cyli merged 1 commit into
moby:mastermoby/swarmkit:masterfrom
aaronlehmann:allocator-stuck-tasksaaronlehmann/swarmkit:allocator-stuck-tasksCopy head branch name to clipboard
Feb 8, 2017
Merged

allocator: Fix stuck tasks at startup#1938
cyli merged 1 commit into
moby:mastermoby/swarmkit:masterfrom
aaronlehmann:allocator-stuck-tasksaaronlehmann/swarmkit:allocator-stuck-tasksCopy head branch name to clipboard

Conversation

@aaronlehmann

Copy link
Copy Markdown
Collaborator

If the allocator starts up and sees a task in the NEW state that doesn't
need allocations, it should move it to PENDING immediately.

There was code in place for this but it wasn't actually updating the
task's state. The task would get stuck and never get assigned.

ping @cyli

If the allocator starts up and sees a task in the NEW state that doesn't
need allocations, it should move it to PENDING immediately.

There was code in place for this but it wasn't actually updating the
task's state. The task would get stuck and never get assigned.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
@aaronlehmann aaronlehmann modified the milestones: 1.13.1, 1.13.2 Feb 8, 2017
@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #1938 into master will decrease coverage by -0.04%.

@@            Coverage Diff             @@
##           master    #1938      +/-   ##
==========================================
- Coverage   54.15%   54.11%   -0.04%     
==========================================
  Files         108      108              
  Lines       18544    18536       -8     
==========================================
- Hits        10042    10031      -11     
+ Misses       7284     7275       -9     
- Partials     1218     1230      +12

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ed384f3...1c6c9f1. Read the comment docs.

@LK4D4 LK4D4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@cyli

cyli commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

LGTM, thanks for fixing so quickly!

@cyli
cyli merged commit ce8e78a into moby:master Feb 8, 2017
@aaronlehmann
aaronlehmann deleted the allocator-stuck-tasks branch February 8, 2017 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.