Skip to content

feat: add seed peer logic#1302

Merged
gaius-qi merged 12 commits into
mainfrom
feature/announce-seed-peer
May 16, 2022
Merged

feat: add seed peer logic#1302
gaius-qi merged 12 commits into
mainfrom
feature/announce-seed-peer

Conversation

@gaius-qi
Copy link
Copy Markdown
Member

Description

  • Add seed peer logic.

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 this to the v2.0.3 milestone May 12, 2022
@gaius-qi gaius-qi requested review from a team as code owners May 12, 2022 10:27
@gaius-qi gaius-qi self-assigned this May 12, 2022
@gaius-qi gaius-qi force-pushed the feature/announce-seed-peer branch from 95de3a6 to 08d414a Compare May 12, 2022 11:31
@gaius-qi gaius-qi force-pushed the feature/announce-seed-peer branch 12 times, most recently from 2d4f04a to ef14d80 Compare May 12, 2022 13:12
@gaius-qi gaius-qi force-pushed the feature/announce-seed-peer branch from ef14d80 to 1293c86 Compare May 12, 2022 13:17
@gaius-qi gaius-qi force-pushed the feature/announce-seed-peer branch from 1293c86 to 7b316da Compare May 12, 2022 13:21
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 13, 2022

Codecov Report

Merging #1302 (f7413a3) into main (845a6e1) will decrease coverage by 0.54%.
The diff coverage is 30.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1302      +/-   ##
==========================================
- Coverage   46.44%   45.90%   -0.55%     
==========================================
  Files         139      139              
  Lines       11716    11706      -10     
==========================================
- Hits         5442     5374      -68     
- Misses       5684     5737      +53     
- Partials      590      595       +5     
Flag Coverage Δ
Object-compatibility-e2etests ?
e2etests ?
unittests 45.90% <30.30%> (-0.55%) ⬇️

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

Impacted Files Coverage Δ
client/config/peerhost.go 33.21% <ø> (ø)
client/daemon/daemon.go 5.78% <0.00%> (-0.59%) ⬇️
client/daemon/proxy/proxy.go 13.27% <0.00%> (ø)
internal/job/queue.go 83.33% <ø> (-7.58%) ⬇️
pkg/idgen/host_id.go 100.00% <ø> (ø)
scheduler/config/dynconfig.go 35.06% <ø> (+2.53%) ⬆️
scheduler/resource/seed_peer.go 19.29% <0.00%> (ø)
scheduler/storage/storage.go 83.33% <ø> (ø)
scheduler/resource/seed_peer_client.go 69.89% <25.80%> (-26.78%) ⬇️
cdn/config/config.go 46.15% <50.00%> (ø)
... and 13 more

@gaius-qi gaius-qi force-pushed the feature/announce-seed-peer branch from defdb42 to c826a68 Compare May 13, 2022 04:43
@gaius-qi gaius-qi force-pushed the feature/announce-seed-peer branch from c826a68 to e53c772 Compare May 13, 2022 07:41
@gaius-qi gaius-qi force-pushed the feature/announce-seed-peer branch 10 times, most recently from 1cdb282 to d9a702f Compare May 16, 2022 03:26
Signed-off-by: Gaius <[email protected]>
@gaius-qi gaius-qi force-pushed the feature/announce-seed-peer branch from d9a702f to db7a5c0 Compare May 16, 2022 03:48
@gaius-qi gaius-qi merged commit c2f3d25 into main May 16, 2022
@gaius-qi gaius-qi deleted the feature/announce-seed-peer branch May 16, 2022 06:00
gaius-qi added a commit that referenced this pull request Jun 28, 2023
* feat: announce seed peer

Signed-off-by: Gaius <[email protected]>

* feat: remove cdn logic

Signed-off-by: Gaius <[email protected]>

* feat: remove cdn job

Signed-off-by: Gaius <[email protected]>

* feat: dfdaemon change host uuid to host id

Signed-off-by: Gaius <[email protected]>

* feat: go generate mocks

Signed-off-by: Gaius <[email protected]>

* feat: remove cdn compatibility

Signed-off-by: Gaius <[email protected]>

* feat: change docker compose

Signed-off-by: Gaius <[email protected]>

* fix: reuse panic

Signed-off-by: Gaius <[email protected]>

* feat: compatible with v2.0.3-beta.2

Signed-off-by: Gaius <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants