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

chore: fast back source when get pieces task failed #1123

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

jim3ma
Copy link
Member

@jim3ma jim3ma commented Mar 4, 2022

Signed-off-by: Jim Ma [email protected]

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

  • Code compiles correctly.
  • My code follows the code style of this project.
  • 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.
  • All new and existing tests passed.

@jim3ma jim3ma requested a review from a team as a code owner March 4, 2022 09:38
Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

Codecov Report

Merging #1123 (531de11) into main (d1b8ee6) will decrease coverage by 0.08%.
The diff coverage is 55.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1123      +/-   ##
==========================================
- Coverage   45.98%   45.89%   -0.09%     
==========================================
  Files         130      130              
  Lines       10000    10021      +21     
==========================================
+ Hits         4598     4599       +1     
- Misses       4882     4901      +19     
- Partials      520      521       +1     
Flag Coverage Δ
unittests 45.89% <55.55%> (-0.09%) ⬇️

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

Impacted Files Coverage Δ
client/daemon/peer/peertask_conductor.go 57.57% <ø> (-0.11%) ⬇️
client/daemon/peer/peertask_piecetask_poller.go 50.34% <55.55%> (-0.38%) ⬇️
client/daemon/daemon.go 5.13% <0.00%> (-0.28%) ⬇️
cdn/rpcserver/rpcserver.go 60.97% <0.00%> (-0.24%) ⬇️
client/config/peerhost.go 35.29% <0.00%> (ø)
client/daemon/peer/piece_broker.go 85.18% <0.00%> (+3.70%) ⬆️

@jim3ma jim3ma merged commit 37652d0 into main Mar 4, 2022
@jim3ma jim3ma deleted the chore/fast-back-source branch March 4, 2022 10:02
gaius-qi pushed a commit that referenced this pull request Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants