-
Notifications
You must be signed in to change notification settings - Fork 1.1k
server: use IsAlive() more #4406
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
server: use IsAlive() more #4406
Conversation
saschagrunert
left a comment
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
giuseppe
left a comment
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
/retest
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, haircommander, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
LGTM |
happy tests? you ask for too much |
7173225 to
348d80a
Compare
|
Do these changes play well with kata? |
Codecov Report
@@ Coverage Diff @@
## master #4406 +/- ##
==========================================
+ Coverage 40.09% 40.13% +0.04%
==========================================
Files 116 116
Lines 9378 9365 -13
==========================================
- Hits 3760 3759 -1
+ Misses 5212 5200 -12
Partials 406 406 |
|
I believe they should, as we still set a InitPid for the container, even for shim v2. @fidencio can you ptal? |
|
Added to my list, will test it soon, please, don't merge it before I get back to this one. |
|
/hold |
|
I know the patch needs rebase but I finally got an environment where I could test it as it is. And sorry for the delay here. |
|
/unhold |
this replaces unneeded State() and UpdateContainerResources() calls, which both saves on lock contention, as well as possibly saves on a call to `runc state` Signed-off-by: Peter Hunt <[email protected]>
348d80a to
0aeb7d2
Compare
|
/lgtm |
|
/retest |
4 similar comments
|
/retest |
|
/retest |
|
/retest |
|
/retest |
|
@haircommander: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest |
7 similar comments
|
/retest |
|
/retest |
|
/retest |
|
/retest |
|
/retest |
|
/retest |
|
/retest |
|
@haircommander: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
this replaces unneeded State() and UpdateContainerResources() calls,
which both saves on lock contention, as well as possibly saves on a call to
runc stateSigned-off-by: Peter Hunt [email protected]
Which issue(s) this PR fixes:
Special notes for your reviewer:
replaces #3864
Does this PR introduce a user-facing change?