-
Notifications
You must be signed in to change notification settings - Fork 950
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: avoid daemon start hang when one shim hang #2666
fix: avoid daemon start hang when one shim hang #2666
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2666 +/- ##
==========================================
- Coverage 69.72% 69.66% -0.06%
==========================================
Files 281 281
Lines 18699 18712 +13
==========================================
- Hits 13037 13035 -2
- Misses 4213 4230 +17
+ Partials 1449 1447 -2
|
ctrd/container.go
Outdated
|
||
select { | ||
case <-time.After(timeout): | ||
return errors.Wrap(errtypes.ErrTimeout, "connecting to shim") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return errors.Wrap(errtypes.ErrTimeout, "failed to connect shim")
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updaed
LGTM, wait ci pass |
if one containerd-shim hang, pouch daemon start will hang since it will stuck in shim, then pouch daemon can never start Signed-off-by: Ace-Tang <aceapril@126.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
if one containerd-shim hang, pouch daemon start will hang since
it will stuck in shim, then pouch daemon can never start
Signed-off-by: Ace-Tang aceapril@126.com
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews