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: always fallback to legacy get pieces #1180

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

jim3ma
Copy link
Member

@jim3ma jim3ma commented Mar 23, 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 23, 2022 07:09
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 #1180 (50d27c2) into main (7d44095) will increase coverage by 0.56%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1180      +/-   ##
==========================================
+ Coverage   46.04%   46.61%   +0.56%     
==========================================
  Files         133      133              
  Lines       10491    10498       +7     
==========================================
+ Hits         4831     4894      +63     
+ Misses       5114     5050      -64     
- Partials      546      554       +8     
Flag Coverage Δ
unittests 46.61% <100.00%> (+0.56%) ⬆️

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

Impacted Files Coverage Δ
...ent/daemon/peer/peertask_piecetask_synchronizer.go 56.70% <100.00%> (+9.79%) ⬆️
client/daemon/peer/piece_broker.go 85.18% <0.00%> (-3.71%) ⬇️
client/daemon/peer/peertask_conductor.go 58.23% <0.00%> (+1.23%) ⬆️
client/daemon/daemon.go 6.54% <0.00%> (+1.41%) ⬆️
client/daemon/peer/peertask_piecetask_poller.go 53.33% <0.00%> (+22.96%) ⬆️

@jim3ma jim3ma merged commit f448a15 into main Mar 23, 2022
@jim3ma jim3ma deleted the chore/always-fallback-to-legacy-get-pieces branch March 23, 2022 12:31
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.

5 participants