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

fix concurrent piece map panic #1121

Merged
merged 2 commits into from
Mar 4, 2022
Merged

fix concurrent piece map panic #1121

merged 2 commits into from
Mar 4, 2022

Conversation

244372610
Copy link
Contributor

Signed-off-by: sunwp [email protected]

Description

Related Issue

fix #1066

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.

@244372610 244372610 requested a review from a team as a code owner March 4, 2022 07:47
@codecov-commenter
Copy link

Codecov Report

Merging #1121 (3dbb48b) into main (d1b8ee6) will decrease coverage by 0.16%.
The diff coverage is 52.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1121      +/-   ##
==========================================
- Coverage   45.98%   45.81%   -0.17%     
==========================================
  Files         130      130              
  Lines       10000    10020      +20     
==========================================
- Hits         4598     4591       -7     
- Misses       4882     4908      +26     
- Partials      520      521       +1     
Flag Coverage Δ
unittests 45.81% <52.94%> (-0.17%) ⬇️

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

Impacted Files Coverage Δ
cdn/supervisor/task/manager.go 25.23% <0.00%> (-1.24%) ⬇️
cdn/supervisor/task/task.go 42.55% <0.00%> (-3.10%) ⬇️
cdn/rpcserver/rpcserver.go 61.58% <50.00%> (+0.37%) ⬆️
cdn/supervisor/progress/manager.go 85.00% <75.00%> (-3.14%) ⬇️
cdn/supervisor/progress/progress.go 90.62% <100.00%> (-0.42%) ⬇️
client/daemon/peer/peertask_conductor.go 57.31% <0.00%> (-0.36%) ⬇️
client/daemon/daemon.go 5.13% <0.00%> (-0.28%) ⬇️
client/config/peerhost.go 35.29% <0.00%> (ø)
client/daemon/peer/piece_broker.go 85.18% <0.00%> (+3.70%) ⬆️

Signed-off-by: sunwp <[email protected]>
@jim3ma jim3ma merged commit 00b1898 into main Mar 4, 2022
@jim3ma jim3ma deleted the fixCocurrentPieceMap branch March 4, 2022 10:07
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.

Cdn restart with fatal error
4 participants