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

scheduler: Correctly count tasks at bottom level of decision tree #2032

Merged
merged 1 commit into from
Mar 14, 2017

Conversation

aaronlehmann
Copy link
Collaborator

Each node in the decision tree has a count of tasks assigned at or below
that node. The bottom level did not have this count populated. Fix this
so that topology-aware scheduling works correctly when tasks are
scheduled individually.

Test coverage for this is coming in the next PR.

cc @dongluochen

Each node in the decision tree has a count of tasks assigned at or below
that node. The bottom level did not have this count populated. Fix this
so that topology-aware scheduling works correctly when tasks are
scheduled individually.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
@aaronlehmann aaronlehmann added this to the 17.04.0 milestone Mar 13, 2017
@codecov
Copy link

codecov bot commented Mar 13, 2017

Codecov Report

Merging #2032 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2032      +/-   ##
==========================================
- Coverage   53.74%   53.71%   -0.04%     
==========================================
  Files         109      109              
  Lines       19194    19196       +2     
==========================================
- Hits        10316    10311       -5     
+ Misses       7631     7626       -5     
- Partials     1247     1259      +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 2b1b24b...98505a5. Read the comment docs.

@dongluochen
Copy link
Contributor

LGTM

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.

2 participants