Skip to content

Conversation

@aaronlehmann
Copy link

I found that sometimes tasks would end up in a rejected state when trying to update them quickly. The problem was that Shutdown could fail if called before the container was started. Instead of returning an error in this case, Shutdown should succeed. This allows tasks to progress to the "shutdown" state as expected.

This was part of #31108 that I'm extracting into its own PR.

I found that sometimes tasks would end up in a rejected state when
trying to update them quickly. The problem was that Shutdown could fail
if called before the container was started. Instead of returning an
error in this case, Shutdown should succeed. This allows tasks to
progress to the "shutdown" state as expected.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
@aboch
Copy link
Contributor

aboch commented Feb 23, 2017

Looks good to me

@mavenugo
Copy link
Contributor

LGTM. thanks @aaronlehmann

@dongluochen
Copy link
Contributor

dongluochen commented Feb 23, 2017

lgtm (not a maintainer)

@vieux
Copy link
Contributor

vieux commented Feb 23, 2017

LGTM

@vieux vieux merged commit 52ba250 into moby:master Feb 23, 2017
@GordonTheTurtle GordonTheTurtle added this to the 17.04.0 milestone Feb 23, 2017
@vieux vieux mentioned this pull request Feb 23, 2017
@vieux vieux modified the milestones: 17.03.0, 17.04.0 Feb 23, 2017
@aaronlehmann aaronlehmann deleted the shutdown-error-leakage branch February 23, 2017 18:02
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.

6 participants