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

fix(sysadvisor): clean up the contianers not existed in checkpoint #62

Merged
merged 1 commit into from
May 15, 2023

Conversation

cheney-lin
Copy link
Member

the AddContainer request may time out due to storeState, causing container leaks in metaCache, so it is necessary clean up any excess containers.

What type of PR is this?

Bug fixes

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

the `AddContainer` request may time out due to `storeState`,
causing container leaks in metaCache, so it is necessary clean up any excess containers.

Signed-off-by: linzhecheng <linzhecheng@bytedance.com>
@cheney-lin cheney-lin requested a review from waynepeking348 May 11, 2023 11:49
@cheney-lin cheney-lin added bug Something isn't working workflow/need-review review: test succeeded, need to review labels May 11, 2023
@codecov
Copy link

codecov bot commented May 11, 2023

Codecov Report

Patch coverage: 61.03% and project coverage change: -0.08 ⚠️

Comparison is base (21d86d9) 51.30% compared to head (b7a90a9) 51.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
- Coverage   51.30%   51.23%   -0.08%     
==========================================
  Files         318      318              
  Lines       32418    32516      +98     
==========================================
+ Hits        16632    16659      +27     
- Misses      13840    13899      +59     
- Partials     1946     1958      +12     
Flag Coverage Δ
unittest 51.23% <61.03%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/agent/qrm-plugins/cpu/dynamicpolicy/policy.go 38.32% <0.00%> (-0.03%) ⬇️
...ysadvisor/plugin/qosaware/server/cpu/cpu_server.go 54.41% <3.92%> (-1.24%) ⬇️
pkg/agent/sysadvisor/metacache/metacache.go 72.32% <66.25%> (-6.74%) ⬇️
...sysadvisor/plugin/qosaware/resource/cpu/advisor.go 72.82% <82.19%> (+0.39%) ⬆️
...plugin/qosaware/resource/cpu/region/region_base.go 76.38% <100.00%> (+1.57%) ⬆️
...urce/cpu/region/region_dedicated_numa_exclusive.go 77.77% <100.00%> (-1.30%) ⬇️
...lugin/qosaware/resource/cpu/region/region_share.go 62.85% <100.00%> (-13.15%) ⬇️
...osaware/resource/cpu/region/regulator/regulator.go 75.86% <100.00%> (ø)
pkg/util/general/common.go 67.85% <100.00%> (+1.72%) ⬆️

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cheney-lin cheney-lin requested review from csfldf and sun-yuliang May 11, 2023 12:27
@cheney-lin cheney-lin added workflow/merge-ready merge-ready: code is ready and can be merged and removed workflow/need-review review: test succeeded, need to review labels May 15, 2023
@waynepeking348 waynepeking348 merged commit 68be937 into kubewharf:main May 15, 2023
@cheney-lin cheney-lin deleted the dev/reclaim_container branch September 13, 2023 06:31
luomingmeng pushed a commit to luomingmeng/katalyst-core that referenced this pull request Oct 11, 2024
…ubewharf#62)

the `AddContainer` request may time out due to `storeState`,
causing container leaks in metaCache, so it is necessary clean up any excess containers.

Signed-off-by: linzhecheng <linzhecheng@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working workflow/merge-ready merge-ready: code is ready and can be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants