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

Fix removing tasks when a jobs service is removed #3112

Merged
merged 1 commit into from Feb 6, 2023

Commits on Jan 25, 2023

  1. Fix removing tasks when a jobs service is removed

    Previously, the jobs orchestrators were missing the appropriate code to
    handle the deletion of a service. As a result, when a service was
    deleted, the tasks for that service would hang around indefinitely. It's
    likely that on a leadership change or restart, the tasks would have been
    deleted, but that's generally not an acceptable process as leadership
    changes or restarts aren't guaranteed.
    
    Fixes this issue by adding event handling for services, similar to
    global or replicated services, that moves all tasks for a deleted
    service into Remove state, flagging them for deletion.
    
    Signed-off-by: Drew Erny <derny@mirantis.com>
    dperny committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    75e563b View commit details
    Browse the repository at this point in the history