[release/1.2] Add timeout and cancel to shim fifo open#2878
Merged
dmcgowan merged 1 commit intocontainerd:release/1.2from Dec 14, 2018
andrewhsu:backport-1.2-fifo-timeout
Merged
[release/1.2] Add timeout and cancel to shim fifo open#2878dmcgowan merged 1 commit intocontainerd:release/1.2from andrewhsu:backport-1.2-fifo-timeout
dmcgowan merged 1 commit intocontainerd:release/1.2from
andrewhsu:backport-1.2-fifo-timeout
Conversation
There is still a special case where the client side fails to open or load causes things to be slow and the shim can lock up when this happens. This adds a timeout to the context for this case to abort fifo creation. Signed-off-by: Michael Crosby <crosbymichael@gmail.com> (cherry picked from commit a2a4241) Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
Author
|
I can update this PR if the original patch in #2877 changes before merge. |
Member
|
Fix for failing CI: #2881 |
Codecov Report
@@ Coverage Diff @@
## release/1.2 #2878 +/- ##
===============================================
- Coverage 47.41% 43.74% -3.68%
===============================================
Files 91 100 +9
Lines 8410 10728 +2318
===============================================
+ Hits 3988 4693 +705
- Misses 3699 5305 +1606
- Partials 723 730 +7
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## release/1.2 #2878 +/- ##
===============================================
- Coverage 47.41% 43.74% -3.68%
===============================================
Files 91 100 +9
Lines 8410 10728 +2318
===============================================
+ Hits 3988 4693 +705
- Misses 3699 5305 +1606
- Partials 723 730 +7
Continue to review full report at Codecov.
|
Member
|
LGTM |
2 similar comments
Member
|
LGTM |
Member
|
LGTM |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #2877
There is still a special case where the client side fails to open or
load causes things to be slow and the shim can lock up when this
happens. This adds a timeout to the context for this case to abort fifo
creation.
Signed-off-by: Michael Crosby crosbymichael@gmail.com
(cherry picked from commit a2a4241)
Signed-off-by: Andrew Hsu andrewhsu@docker.com