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

bugfix: markStopped may failed, will cause container status not right #1322

Merged

Conversation

HusterWan
Copy link
Contributor

Signed-off-by: Michael Wan zirenwan@gmail.com

Ⅰ. Describe what this PR did

markStoppedAndRelease do three things now:

  1. change container status to stopped
  2. close container io
  3. delete container networks

2 and 3 may failed, it will make container status not changed, so we should ensure container status can be synced as soon as possible

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: Michael Wan <zirenwan@gmail.com>
@pouchrobot pouchrobot added kind/bug This is bug report for project size/M labels May 15, 2018
@yyb196
Copy link
Collaborator

yyb196 commented May 15, 2018

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label May 15, 2018
@codecov-io
Copy link

Codecov Report

Merging #1322 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1322      +/-   ##
==========================================
- Coverage   17.36%   17.35%   -0.01%     
==========================================
  Files         189      189              
  Lines       11793    11799       +6     
==========================================
  Hits         2048     2048              
- Misses       9597     9603       +6     
  Partials      148      148
Impacted Files Coverage Δ
daemon/mgr/container.go 0% <0%> (ø) ⬆️

@allencloud allencloud merged commit ae4e21d into AliyunContainerService:master May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is bug report for project LGTM one maintainer or community participant agrees to merge the pull reuqest. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants