-
Couldn't load subscription status.
- Fork 1.1k
OCPBUGS-30978: Fix memory leakage when port-forwarding #8203
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
Conversation
|
Hi @bitoku. Thanks for your PR. I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions 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-sigs/prow repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8203 +/- ##
==========================================
+ Coverage 49.54% 49.56% +0.02%
==========================================
Files 153 153
Lines 16961 16954 -7
==========================================
Hits 8404 8404
+ Misses 7510 7504 -6
+ Partials 1047 1046 -1 |
|
/ok-to-test |
|
/retest |
Signed-off-by: Ayato Tokubi <[email protected]>
|
/retest |
|
/approve |
|
/approve thank you! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bitoku, haircommander, kwilczynski The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick release-1.30 |
|
@haircommander: new pull request created: #8206 In response to this:
Instructions 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-sigs/prow repository. |
|
/cherry-pick release-1.29 |
|
@kwilczynski: new pull request created: #8208 In response to this:
Instructions 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-sigs/prow repository. |
|
@bitoku: Jira Issue OCPBUGS-30978: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-30978 has been moved to the MODIFIED state. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR forces cri-o to drain the stream when it finishes port-forward in order to avoid failure to close the connection which causes memory leakage.
The issue details are here.
https://issues.redhat.com/browse/OCPBUGS-30978
It had been reported before (https://bugzilla.redhat.com/show_bug.cgi?id=1798193) and fixed in 7016c3e.
However at some point, it regressed.
Which issue(s) this PR fixes:
Fixes https://issues.redhat.com/browse/OCPBUGS-30978
Special notes for your reviewer:
Does this PR introduce a user-facing change?