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

dispatcher: Always send task updates to agent when state <= ASSIGNED #1295

Merged
merged 1 commit into from
Aug 2, 2016

Commits on Aug 2, 2016

  1. dispatcher: Always send task updates to agent when state <= ASSIGNED

    The use of TaskEqualStable in the dispatcher to avoid sending
    unnecessary task updates is problematic for global services. These tasks
    only move to the ASSIGNED state once the scheduler confirms resources
    are available. Since state changes are not considered relevant changes
    and do not trigger assignment set updates, the dispatcher may never send
    this update, and tasks can become stuck in the ASSIGNED state.
    
    If a task is in the state ASSIGNED or below, always count a state change
    as a modification, even if nothing else has changed.
    
    Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
    aaronlehmann committed Aug 2, 2016
    Configuration menu
    Copy the full SHA
    4965ffc View commit details
    Browse the repository at this point in the history