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

feat: add peer manager for persistent cache task #3592

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

gaius-qi
Copy link
Member

Description

Related Issue

Motivation and Context

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@gaius-qi gaius-qi added the enhancement New feature or request label Oct 21, 2024
@gaius-qi gaius-qi added this to the v2.2.0 milestone Oct 21, 2024
@gaius-qi gaius-qi self-assigned this Oct 21, 2024
@gaius-qi gaius-qi requested a review from a team as a code owner October 21, 2024 13:11
@gaius-qi gaius-qi force-pushed the feature/peer-manager branch 2 times, most recently from cfc7270 to 8c1a2f1 Compare October 22, 2024 10:19
Signed-off-by: Gaius <gaius.qi@gmail.com>
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 0.94340% with 210 lines in your changes missing coverage. Please review.

Project coverage is 35.67%. Comparing base (395fc6c) to head (f756167).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
scheduler/resource/persistentcache/peer_manager.go 0.00% 136 Missing ⚠️
scheduler/resource/persistentcache/host_manager.go 0.00% 48 Missing ⚠️
scheduler/resource/persistentcache/task_manager.go 0.00% 18 Missing ⚠️
pkg/redis/redis.go 0.00% 4 Missing ⚠️
internal/dflog/logger.go 50.00% 2 Missing ⚠️
scheduler/resource/persistentcache/peer.go 0.00% 1 Missing ⚠️
scheduler/resource/persistentcache/task.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3592      +/-   ##
==========================================
- Coverage   35.83%   35.67%   -0.16%     
==========================================
  Files         335      336       +1     
  Lines       36962    37106     +144     
==========================================
- Hits        13245    13238       -7     
- Misses      22882    23031     +149     
- Partials      835      837       +2     
Flag Coverage Δ
unittests 35.67% <0.94%> (-0.16%) ⬇️

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

Files with missing lines Coverage Δ
scheduler/resource/persistentcache/peer.go 0.00% <0.00%> (ø)
scheduler/resource/persistentcache/task.go 0.00% <0.00%> (ø)
internal/dflog/logger.go 58.09% <50.00%> (ø)
pkg/redis/redis.go 40.74% <0.00%> (-3.26%) ⬇️
scheduler/resource/persistentcache/task_manager.go 0.00% <0.00%> (ø)
scheduler/resource/persistentcache/host_manager.go 0.00% <0.00%> (ø)
scheduler/resource/persistentcache/peer_manager.go 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes

Copy link
Member

@fcgxz2003 fcgxz2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@gaius-qi gaius-qi merged commit 2e1a6b5 into main Oct 22, 2024
23 of 27 checks passed
@gaius-qi gaius-qi deleted the feature/peer-manager branch October 22, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants