-
Notifications
You must be signed in to change notification settings - Fork 336
feat: add RemoteIp for calling client #4231
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
Signed-off-by: Gaius <gaius.qi@gmail.com>
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
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
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
…/remote-ip Signed-off-by: Gaius <gaius.qi@gmail.com>
e498dfc
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
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4231 +/- ##
==========================================
- Coverage 32.54% 32.51% -0.03%
==========================================
Files 350 350
Lines 41346 41360 +14
==========================================
- Hits 13454 13449 -5
- Misses 27003 27019 +16
- Partials 889 892 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Description
This pull request introduces changes to update a dependency version and enhance the handling of server IP addresses in various scheduler operations. The most significant updates include upgrading the
d7y.io/api/v2
dependency and consistently passing the server'sAdvertiseIP
asRemoteIp
in multiple scheduler methods.Dependency Update:
d7y.io/api/v2
from versionv2.1.42
tov2.1.47
ingo.mod
to incorporate the latest features and fixes.Enhancements to Scheduler Operations:
Preheat Operations:
AdvertiseIP
asRemoteIp
inpreheatV2SingleSeedPeerByURL
,preheatAllSeedPeers
, andpreheatAllPeers
methods to ensure accurate network communication. (scheduler/job/job.go
: [1] [2] [3] [4] [5] [6]Task Deletion:
AdvertiseIP
asRemoteIp
indeleteTask
andDeletePersistentCacheTask
methods for improved task management. (scheduler/job/job.go
: [1]scheduler/service/service_v2.go
: [2]Persistent Cache Operations:
AdvertiseIP
asRemoteIp
in methods handling persistent cache tasks, such asDeletePersistentCachePeer
,downloadPersistentCacheTaskByPeer
, andpersistPersistentCacheTaskByPeer
, to enhance consistency and reliability. (scheduler/service/service_v2.go
: [1] [2] [3]Related Issue
Motivation and Context
Screenshots (if appropriate)
Types of changes
Checklist